termux-packages/packages/gatling/dirfd.h.patch
Yaksh Bariya 323bfe55cd
gatling: fix builds with NDK r23
Thanks to OpenSSL 3 for making me fix this
2022-02-16 19:03:11 +05:30

12 lines
298 B
Diff

--- ./dirfd.h.orig 2022-02-16 19:00:47.650173530 +0530
+++ ./dirfd.h 2022-02-16 19:01:03.830173524 +0530
@@ -21,7 +21,7 @@
* given dir, and it will return the fd or -1 on error. */
#ifdef __linux__
-int ifd; /* inotify fd */
+extern int ifd; /* inotify fd */
#endif
struct dircacheentry {