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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index c623b5406f..090f47a795 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -40,10 +40,10 @@
#include <errno.h>
#include <grp.h>
#include <pwd.h>
-#if HAVE_SYS_MKDEV_H
+#ifdef HAVE_SYS_MKDEV_H
# include <sys/mkdev.h>
#endif
-#if HAVE_SYS_SYSMACROS_H
+#ifdef HAVE_SYS_SYSMACROS_H
# include <sys/sysmacros.h>
#endif