A similar fix will be needed in lib/interfaces.c on the 3.0 branch...I just checked the other files I changed and this is the only file that has this issue.
PG Richard Bollinger [mailto:[EMAIL PROTECTED]] wrote: > Problem is that there are ifdef tests depending on the > contents of config.h before it's included. > This patch moves up that include to the beginning: > > --- ../source/lib/interfaces.c Tue Jun 4 07:46:46 2002 > +++ ./lib/interfaces.c Tue Jun 4 10:02:49 2002 > @@ -31,6 +31,7 @@ > > */ > > +#include "config.h" > #include <unistd.h> > #include <stdio.h> > #include <sys/types.h> > @@ -57,7 +58,6 @@ > struct in_addr netmask; > }; > #else > -#include "config.h" > #include "interfaces.h" > #endif
