1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 09:42:22 +01:00

Not all systems have sys/ipc.h so let's check and only include it if we

have it.
This commit is contained in:
David Reid
2002-11-04 20:08:09 +00:00
parent 635c7bc796
commit e66a760f6b
2 changed files with 4 additions and 0 deletions

View File

@@ -354,6 +354,7 @@ unistd.h \
unix.h \
utime.h \
sys/utsname.h \
sys/ipc.h \
],[],[],[
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>

View File

@@ -21,7 +21,10 @@
#include "php.h"
#include <sys/types.h>
#ifdef HAVE_SYS_IPC_H
#include <sys/ipc.h>
#endif
#if HAVE_FTOK
/* {{{ proto int ftok(string pathname, string proj)