remove unnecessary includes to avoid conflicting ntoh() declarations

This commit is contained in:
jani 2003-02-28 11:23:00 +00:00
parent a9749edff8
commit 782a790c07
1 changed files with 0 additions and 15 deletions

View File

@ -48,25 +48,10 @@ struct command {
char *args[10];
};
/* Following #undefs are here to keep compiler from issuing warnings
about them being double defined. (They are defined in lwip/inet.h
as well as the Unix #includes below.) */
#undef htonl
#undef ntohl
#undef htons
#undef ntohs
#undef HTONL
#undef NTOHL
#undef HTONS
#undef NTOHS
#undef IP_HDRINCL
#include <stdio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <limits.h>