Broken change to lib/interfaces.c in last night's 2_2 CVS - F ix Enclosed

Green, Paul Paul.Green at stratus.com
Tue Jun 4 08:56:36 GMT 2002


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:rabollinger at attbi.com] 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




More information about the samba-technical mailing list