summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libnet/src/common.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/libnet/src/common.h b/libnet/src/common.h
index de31704..358db77 100644
--- a/libnet/src/common.h
+++ b/libnet/src/common.h
@@ -38,14 +38,7 @@
#include <sys/types.h>
-/* IPPROTO_ and sockaddr_ definitions are here. They are often
- * implicitly pulled in, but some systems need them explicitly
- * included.
- */
#include <netinet/in.h>
-#ifndef IPPROTO_MH
-#define IPPROTO_MH 135 /* IPv6 mobility header */
-#endif
/* TODO - should ../include/gnuc.h be included here? */
@@ -56,3 +49,10 @@
#include "../include/config.h"
#include "../include/libnet.h"
+/* IPPROTO_ and sockaddr_ definitions are here. They are often
+ * implicitly pulled in, but some systems need them explicitly
+ * included.
+ */
+#ifndef IPPROTO_MH
+#define IPPROTO_MH 135 /* IPv6 mobility header */
+#endif