mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there
This commit is contained in:
parent
8c0dc5a856
commit
9f8046454b
@ -372,6 +372,7 @@ sys/vfs.h \
|
||||
sys/sysexits.h \
|
||||
sys/varargs.h \
|
||||
sys/wait.h \
|
||||
sys/loadavg.h \
|
||||
termios.h \
|
||||
unistd.h \
|
||||
unix.h \
|
||||
|
@ -78,6 +78,10 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
|
||||
# include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
#if HAVE_SYS_LOADAVG_H
|
||||
# include <sys/loadavg.h>
|
||||
#endif
|
||||
|
||||
#ifdef HARTMUT_0
|
||||
#include <getopt.h>
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user