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:
@@ -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>
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user