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
|
@ -56,15 +56,7 @@ static const char *rcsid UNUSED =
|
|||
Jim Guyton 10/85
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/ioctl.h>
|
||||
#include <sys/time.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/tftp.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define PKTSIZE MAX_SEGSIZE+4 /* should be moved to tftp.h */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue