From: serassio <> Date: Sat, 23 Apr 2005 20:07:15 +0000 (+0000) Subject: Allow MSNT helper to build again after IPv6 preparation patches: X-Git-Tag: SQUID_3_0_PRE4~801 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d83620acb7ccce595ff322d907d8086208486273;p=thirdparty%2Fsquid.git Allow MSNT helper to build again after IPv6 preparation patches: MSNT was not including config.h before this. --- diff --git a/helpers/basic_auth/MSNT/smblib-util.c b/helpers/basic_auth/MSNT/smblib-util.c index 4dd5967cbd..7a8e546601 100644 --- a/helpers/basic_auth/MSNT/smblib-util.c +++ b/helpers/basic_auth/MSNT/smblib-util.c @@ -23,6 +23,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include "std-includes.h" #include "smblib-priv.h" #include "smblib.h" diff --git a/helpers/basic_auth/MSNT/std-defines.h b/helpers/basic_auth/MSNT/std-defines.h index c3959c64f0..a52ef101a2 100644 --- a/helpers/basic_auth/MSNT/std-defines.h +++ b/helpers/basic_auth/MSNT/std-defines.h @@ -26,8 +26,9 @@ #ifndef _STD_DEFINES_H_ #define _STD_DEFINES_H_ -#define BOOL int -typedef short int16; +#include "config.h" +#define BOOL int16_t +#define int16 int16_t #include #include diff --git a/helpers/basic_auth/MSNT/std-includes.h b/helpers/basic_auth/MSNT/std-includes.h index 95bc508c97..ccf6042532 100644 --- a/helpers/basic_auth/MSNT/std-includes.h +++ b/helpers/basic_auth/MSNT/std-includes.h @@ -23,8 +23,10 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#define BOOL int -typedef short int16; +/* the types are provided by squid's configure preocess */ +#include "config.h" +#define BOOL int16_t +#define int16 int16_t #include #include