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
15
tftp/tftp.c
15
tftp/tftp.c
|
@ -50,21 +50,6 @@ static const char *rcsid UNUSED =
|
|||
/*
|
||||
* TFTP User Program -- Protocol Machines
|
||||
*/
|
||||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <sys/time.h>
|
||||
|
||||
#include <netinet/in.h>
|
||||
|
||||
#include <arpa/tftp.h>
|
||||
|
||||
#include <errno.h>
|
||||
#include <setjmp.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "extern.h"
|
||||
|
||||
extern struct sockaddr_in peeraddr; /* filled in by main */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue