Skip to content

Commit d1e7e4a

Browse files
committed
Fix [-Wundef] warning in POSIX extension
1 parent d8130ad commit d1e7e4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/posix/posix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
#include <errno.h>
4141
#include <grp.h>
4242
#include <pwd.h>
43-
#if HAVE_SYS_MKDEV_H
43+
#ifdef HAVE_SYS_MKDEV_H
4444
# include <sys/mkdev.h>
4545
#endif
46-
#if HAVE_SYS_SYSMACROS_H
46+
#ifdef HAVE_SYS_SYSMACROS_H
4747
# include <sys/sysmacros.h>
4848
#endif
4949

0 commit comments

Comments
 (0)