chiark / gitweb /
ipif: move #include of automech.h down so that it has definition of struct mechanism
[userv-utils.git] / ipif / forwarder.h
index fa048b321fabcc1de4ed4e29721e28cc639f2195..599eb41a0e6bc521e5f818d333f7915f68ab2ed5 100644 (file)
@@ -28,8 +28,6 @@
 #include <string.h>
 #include <sys/utsname.h>
 
-#include "automech.h"
-
 struct buffer {
   unsigned char *base;
   unsigned char *start;
@@ -52,6 +50,8 @@ struct mechanism {
   mdec_functype *decode;
 };
 
+#include "automech.h"
+
 extern const struct mechanism *const mechanismlists[];
 
 /* setup function may call getarg_xxx functions and then