diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2011-04-21 19:13:11 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2011-04-21 19:13:11 +0100 |
commit | d09170cc71ae828279a1bc77cc7780dab9545bd6 (patch) | |
tree | 7d8658181e80a4820d893ee69fa476a54633d970 /ipif | |
parent | f3f828acaef13f76556730dcf27839c310dbb2d1 (diff) | |
download | userv-utils-d09170cc71ae828279a1bc77cc7780dab9545bd6.tar.gz |
ipif: move #include of automech.h down so that it has definition of struct mechanism
Diffstat (limited to 'ipif')
-rw-r--r-- | ipif/forwarder.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipif/forwarder.h b/ipif/forwarder.h index fa048b3..599eb41 100644 --- a/ipif/forwarder.h +++ b/ipif/forwarder.h @@ -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 |