Unbreak on 5.0 (malloc.h)

This commit is contained in:
Kris Kennaway 2002-01-26 07:40:17 +00:00
parent 379ed70e9a
commit ac4c0121f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53764
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,12 @@
--- src/srl/srl.c.orig Sun Oct 3 14:06:34 1999
+++ src/srl/srl.c Fri Jan 25 23:37:10 2002
@@ -93,7 +93,9 @@
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
#include <sys/time.h>
#define SRLEXT

View file

@ -0,0 +1,12 @@
--- src/srl/srl.c.orig Sun Oct 3 14:06:34 1999
+++ src/srl/srl.c Fri Jan 25 23:37:10 2002
@@ -93,7 +93,9 @@
#include <stdlib.h>
#include <ctype.h>
#include <string.h>
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
#include <sys/time.h>
#define SRLEXT