I have no idea how portable this is but freebsd doesn't
use malloc.h anymore.
# grep error /usr/include/malloc.h
#error "<malloc.h> has been replaced by <stdlib.h>"
- Pawel
Index: helpers/ntlm_auth/SMB/smbval/rfcnb-util.c
===================================================================
RCS file: /squid/squid3/helpers/ntlm_auth/SMB/smbval/rfcnb-util.c,v
retrieving revision 1.1
diff -u -r1.1 rfcnb-util.c
--- helpers/ntlm_auth/SMB/smbval/rfcnb-util.c 7 Jan 2001 23:36:49 -0000
1.1
+++ helpers/ntlm_auth/SMB/smbval/rfcnb-util.c 1 Aug 2003 00:33:25 -0000
@@ -24,7 +24,7 @@
*/
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "std-includes.h"
#include "rfcnb-priv.h"
Index: helpers/ntlm_auth/SMB/smbval/session.c
===================================================================
RCS file: /squid/squid3/helpers/ntlm_auth/SMB/smbval/session.c,v
retrieving revision 1.3
diff -u -r1.3 session.c
--- helpers/ntlm_auth/SMB/smbval/session.c 30 Oct 2001 21:43:13 -0000
1.3
+++ helpers/ntlm_auth/SMB/smbval/session.c 1 Aug 2003 00:33:25 -0000
@@ -23,7 +23,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <malloc.h>
#include <string.h>
#include <stdlib.h>
Index: helpers/ntlm_auth/SMB/smbval/smblib-util.c
===================================================================
RCS file: /squid/squid3/helpers/ntlm_auth/SMB/smbval/smblib-util.c,v
retrieving revision 1.1
diff -u -r1.1 smblib-util.c
--- helpers/ntlm_auth/SMB/smbval/smblib-util.c 7 Jan 2001 23:36:50 -0000
1.1
+++ helpers/ntlm_auth/SMB/smbval/smblib-util.c 1 Aug 2003 00:33:26 -0000
@@ -24,7 +24,7 @@
*/
#include "smblib-priv.h"
-#include <malloc.h>
+#include <stdlib.h>
#include <string.h>
#include "rfcnb.h"
Index: helpers/ntlm_auth/SMB/smbval/smblib.c
===================================================================
RCS file: /squid/squid3/helpers/ntlm_auth/SMB/smbval/smblib.c,v
retrieving revision 1.3
diff -u -r1.3 smblib.c
--- helpers/ntlm_auth/SMB/smbval/smblib.c 28 Nov 2001 08:02:00 -0000
1.3
+++ helpers/ntlm_auth/SMB/smbval/smblib.c 1 Aug 2003 00:33:26 -0000
@@ -25,7 +25,7 @@
*/
#include "config.h"
-#include <malloc.h>
+#include <stdlib.h>
#include <ctype.h>
#include <string.h>
Received on Fri Aug 01 2003 - 04:13:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:25 MST