]> granicus.if.org Git - php/commitdiff
More [-Wundef] warnings fixed in POSIX extension
authorGeorge Peter Banyard <girgias@php.net>
Wed, 20 May 2020 15:36:20 +0000 (17:36 +0200)
committerGeorge Peter Banyard <girgias@php.net>
Wed, 20 May 2020 16:22:10 +0000 (18:22 +0200)
Forgot to squash this into the other commit

ext/posix/posix.c

index c623b5406fa8a97d21a0d2b53679649c98abdb30..090f47a79536d587a26a1714e9ec3ae36408e001 100644 (file)
 #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