Reorganize imports for OpenBSD
This commit is contained in:
parent
45a5d80c49
commit
b30abea6b0
|
@ -39,8 +39,8 @@
|
|||
#endif
|
||||
#include <termios.h>
|
||||
#include <err.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <syslog.h>
|
||||
#endif
|
||||
|
||||
|
|
|
@ -37,8 +37,8 @@ extern const unsigned char raw_header[RAW_HDR_LEN];
|
|||
#include <sys/types.h>
|
||||
#include <sys/socket.h>
|
||||
#include <err.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
#define DNS_PORT 53
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
#define BIND_8_COMPAT
|
||||
#include <arpa/nameser_compat.h>
|
||||
#endif
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#include <err.h>
|
||||
#endif
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
#ifdef WINDOWS32
|
||||
#include "windows.h"
|
||||
#else
|
||||
#include <netinet/in.h>
|
||||
#include <arpa/inet.h>
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue