trawick 00/04/05 18:46:09
Modified: src/main iol_file.c
Log:
Include <stdlib.h> and/or <malloc.h> depending on which is
available instead of always including <malloc.h>.
Revision Changes Path
1.13 +5 -0 apache-2.0/src/main/iol_file.c
Index: iol_file.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/iol_file.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- iol_file.c 2000/03/31 08:44:20 1.12
+++ iol_file.c 2000/04/06 01:46:08 1.13
@@ -59,7 +59,12 @@
#include "ap_config.h"
#include "httpd.h"
#include "ap_iol.h"
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+#ifdef HAVE_MALLOC_H
#include <malloc.h>
+#endif
typedef struct {
|