0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/root-packages/nfs-utils/support-reexport-backend_sqlite.c.patch
Fredrik Fornwall 9bdfa7f1c2 fix(root/nfs-utils): Fix build with current toolchain
Also bump version from 2.6.3 to 2.6.4.
2024-06-19 12:04:12 +02:00

14 lines
301 B
Diff

--- a/support/reexport/backend_sqlite.c
+++ b/support/reexport/backend_sqlite.c
@@ -10,6 +10,10 @@
#include <sys/random.h>
#include <unistd.h>
+#if defined __ANDROID__ && __ANDROID_API__ < 28
+#include <syscall.h>
+#endif
+
#include "conffile.h"
#include "reexport_backend.h"
#include "xlog.h"