mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFH: fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there
This commit is contained in:
parent
206ec1a06b
commit
a0371df33f
2 changed files with 5 additions and 0 deletions
|
@ -374,6 +374,7 @@ sys/vfs.h \
|
||||||
sys/sysexits.h \
|
sys/sysexits.h \
|
||||||
sys/varargs.h \
|
sys/varargs.h \
|
||||||
sys/wait.h \
|
sys/wait.h \
|
||||||
|
sys/loadavg.h \
|
||||||
termios.h \
|
termios.h \
|
||||||
unistd.h \
|
unistd.h \
|
||||||
unix.h \
|
unix.h \
|
||||||
|
|
|
@ -78,6 +78,10 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
|
||||||
# include <sys/mman.h>
|
# include <sys/mman.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAVE_SYS_LOADAVG_H
|
||||||
|
# include <sys/loadavg.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HARTMUT_0
|
#ifdef HARTMUT_0
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue