Reorganize imports for OpenBSD

This commit is contained in:
Erik Ekman 2012-02-10 23:26:27 +01:00
parent 45a5d80c49
commit b30abea6b0
5 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -20,6 +20,7 @@
#ifdef WINDOWS32
#include "windows.h"
#else
#include <netinet/in.h>
#include <arpa/inet.h>
#endif

View file

@ -51,8 +51,8 @@ static void get_name(char *ifname, int namelen, char *dev_name);
#define NET_CFG_INST_ID "NetCfgInstanceId"
#else
#include <err.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#define TUN_MAX_TRY 50
#endif