blob: a125e1d301a3074f98babc05c4490a518e878011 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- external/dmon/dmon.h.orig 2025-04-16 06:15:03 UTC
+++ external/dmon/dmon.h
@@ -142,7 +142,7 @@ DMON_API_DECL void dmon_unwatch(dmon_watch_id id);
#if defined(_WIN32) || defined(_WIN64)
# undef DMON_OS_WINDOWS
# define DMON_OS_WINDOWS 1
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__FreeBSD__)
# undef DMON_OS_LINUX
# define DMON_OS_LINUX 1
#elif defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__)
@@ -172,7 +172,7 @@ DMON_API_DECL void dmon_unwatch(dmon_watch_id id);
# include <dirent.h>
# include <errno.h>
# include <fcntl.h>
-# include <linux/limits.h>
+//# include <linux/limits.h>
# include <pthread.h>
# include <sys/inotify.h>
# include <sys/stat.h>
|