fix compile warning on Solaris, getloadavg() is in sys/loadavg.h there

This commit is contained in:
Antony Dovgal 2006-07-26 08:57:11 +00:00
parent 8c0dc5a856
commit 9f8046454b
2 changed files with 5 additions and 0 deletions

View File

@ -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 \

View File

@ -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