]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Allow MSNT helper to build again after IPv6 preparation patches:
authorserassio <>
Sat, 23 Apr 2005 20:07:15 +0000 (20:07 +0000)
committerserassio <>
Sat, 23 Apr 2005 20:07:15 +0000 (20:07 +0000)
MSNT was not including config.h before this.

helpers/basic_auth/MSNT/smblib-util.c
helpers/basic_auth/MSNT/std-defines.h
helpers/basic_auth/MSNT/std-includes.h

index 4dd5967cbdc964b19674121398bfe3d416d4f229..7a8e5466019378b1e42acd85cd4a191cbac73abf 100644 (file)
@@ -23,6 +23,7 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#include "std-includes.h"
 #include "smblib-priv.h"
 #include "smblib.h"
 
index c3959c64f0722980030dfbd3299580c1ba2d2cac..a52ef101a222c9ed10031bb353edac9266983f93 100644 (file)
@@ -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 <netdb.h>
 #include <sys/types.h>
index 95bc508c97d68889f25523f504d87a0f5e505717..ccf6042532aeef6a06047a58979d2a9a15ea5952 100644 (file)
  * 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 <netdb.h>
 #include <sys/types.h>