forked from mirrors/tftp-hpa-google
Be paranoid about multiple inclusions (apparently some systems don't like
it for certain header files.) Be a little bit more careful in setting up the standard environment in config.h. This is AIX portability work.
This commit is contained in:
parent
818a5408bd
commit
3d401fa4c9
8 changed files with 26 additions and 55 deletions
17
config.h
17
config.h
|
@ -70,7 +70,24 @@
|
|||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SETJMP_H
|
||||
#include <setjmp.h>
|
||||
#endif
|
||||
|
||||
#ifdef TIME_WITH_SYS_TIME
|
||||
#include <sys/time.h>
|
||||
#include <time.h>
|
||||
#else
|
||||
#if HAVE_SYS_TIME_H
|
||||
#include <sys/time.h>
|
||||
#else
|
||||
#include <time.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
||||
#include <sys/socket.h>
|
||||
|
||||
/* If we don't have intmax_t, try creating it */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue