summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:03:30 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-08-07 01:03:30 +0200
commit6caa93394756fe37bf77598e9cbc2e9e452ad5c7 (patch)
tree2f02f8e651a39d17c89d227ac6f7b530fb36aca3 /src/fastd.h
parentfd939f024726a2b225e3c87eb30e1a15e04d5b0d (diff)
downloadfastd-6caa93394756fe37bf77598e9cbc2e9e452ad5c7.tar
fastd-6caa93394756fe37bf77598e9cbc2e9e452ad5c7.zip
Reorder includes to make FreeBSD happy
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 3526f54..db88d6b 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -31,8 +31,6 @@
#include "queue.h"
#include <errno.h>
-#include <netinet/if_ether.h>
-#include <netinet/in.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
@@ -40,11 +38,14 @@
#include <stdlib.h>
#include <string.h>
#include <syslog.h>
-#include <sys/uio.h>
-#include <sys/socket.h>
#include <time.h>
#include <unistd.h>
+#include <sys/uio.h>
+#include <sys/socket.h>
+
+#include <netinet/in.h>
+#include <netinet/if_ether.h>
/* This must be adjusted when new methods are added */
#define MAX_METHODS 3