summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-05-20 17:36:20 +0200
committerGeorge Peter Banyard <girgias@php.net>2020-05-20 18:22:10 +0200
commite6930bcfba01871cbf777b713fa94d51e342ee5e (patch)
tree807fe3d1e5caa422914ebd1064da1dc556a8e4d4 /ext/posix
parent3092a1ee12b864352ceeea56a4f4dc8c19a48f63 (diff)
downloadphp-git-e6930bcfba01871cbf777b713fa94d51e342ee5e.tar.gz
More [-Wundef] warnings fixed in POSIX extension
Forgot to squash this into the other commit
Diffstat (limited to 'ext/posix')
-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