termux-packages/packages/gatling/dirfd.h.patch

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 {