From: Ian Jackson Date: Thu, 21 Apr 2011 18:13:11 +0000 (+0100) Subject: ipif: move #include of automech.h down so that it has definition of struct mechanism X-Git-Tag: userv/0.6.1~78^2~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=userv-utils.git;a=commitdiff_plain;h=d09170cc71ae828279a1bc77cc7780dab9545bd6;hp=f3f828acaef13f76556730dcf27839c310dbb2d1;ds=sidebyside ipif: move #include of automech.h down so that it has definition of struct mechanism --- 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 #include -#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