aboutsummaryrefslogtreecommitdiff
path: root/include/compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat.h')
-rw-r--r--include/compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/compat.h b/include/compat.h
index 9051d88..5f73158 100644
--- a/include/compat.h
+++ b/include/compat.h
@@ -150,7 +150,7 @@ int chdir(const char *path);
#include <unistd.h>
#include <fcntl.h>
-#ifdef __linux__
+#if defined(__linux__) || defined(__GLIBC__)
#include <sys/sysmacros.h>
#endif
#endif