Re: Patch-2 relative to 2.2.S3, the sequel

From: Stephen R. van den Berg <srb@dont-contact.us>
Date: Sun, 27 Jun 1999 13:39:07 +0200

>store.c:1270: warning: implicit declaration of function `offsetof'

Try adding the following patch (rerun configure):

diff -U 2 -b -B -p -r -d --horizon-lines=2 -X /usr/local/etc/xdiff squid-2.2.STABLE3/configure squid-B2/configure
--- squid-2.2.STABLE3/configure Wed Apr 21 05:36:03 1999
+++ squid-B2/configure Sun Jun 27 13:34:25 1999
@@ -2225,4 +2225,5 @@ for ac_hdr in \
         stdio.h \
         stdlib.h \
+ stddef.h \
         string.h \
         strings.h \
diff -U 2 -b -B -p -r -d --horizon-lines=2 -X /usr/local/etc/xdiff squid-2.2.STABLE3/src/squid.h squid-B2/src/squid.h
--- squid-2.2.STABLE3/src/squid.h Tue Apr 13 00:58:20 1999
+++ squid-B2/src/squid.h Sun Jun 27 13:34:43 1999
@@ -83,4 +83,7 @@
 #include <stdlib.h>
 #endif
+#if HAVE_STDDEF_H
+#include <stddef.h>
+#endif
 #if HAVE_STDIO_H
 #include <stdio.h>

-- 
Sincerely,                                                          srb@cuci.nl
           Stephen R. van den Berg (AKA BuGless).
He did a quarter of the work in *half* the time!
Received on Sun Jun 27 1999 - 05:26:28 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:01 MST