summaryrefslogtreecommitdiff
path: root/util/tap/tap.cc
diff options
context:
space:
mode:
Diffstat (limited to 'util/tap/tap.cc')
-rw-r--r--util/tap/tap.cc16
1 files changed, 6 insertions, 10 deletions
diff --git a/util/tap/tap.cc b/util/tap/tap.cc
index b026e0220..2cc7de4b5 100644
--- a/util/tap/tap.cc
+++ b/util/tap/tap.cc
@@ -32,25 +32,21 @@ extern "C" {
#include <pcap.h>
}
-#include <dnet.h>
-
#include <arpa/inet.h>
-
-#include <sys/ioctl.h>
-#include <sys/types.h>
-#include <sys/socket.h>
-
#include <netinet/in.h>
#include <netinet/tcp.h>
-
-#include <errno.h>
+#include <sys/ioctl.h>
+#include <sys/socket.h>
+#include <sys/types.h>
+#include <dnet.h>
#include <fcntl.h>
#include <libgen.h>
#include <netdb.h>
#include <poll.h>
-#include <signal.h>
#include <unistd.h>
+#include <cerrno>
+#include <csignal>
#include <list>
#include <string>