summaryrefslogtreecommitdiff
path: root/ext/posix/posix.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r--ext/posix/posix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index 27d91f8a6c..e3a2bc739d 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -52,6 +52,9 @@
#if HAVE_SYS_MKDEV_H
# include <sys/mkdev.h>
#endif
+#if HAVE_SYS_SYSMACROS_H
+# include <sys/sysmacros.h>
+#endif
ZEND_DECLARE_MODULE_GLOBALS(posix)
static PHP_MINFO_FUNCTION(posix);