summaryrefslogtreecommitdiff
path: root/net/mcl/files/patch-mcl_includes.h
blob: d68a506373311826a492a7813f00813e7a4e6644 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
--- src/alc/mcl_includes.h.orig	Tue Jul 22 19:37:39 2003
+++ src/alc/mcl_includes.h	Tue Oct 14 15:23:54 2003
@@ -40,11 +40,13 @@
 #include <sys/types.h>
 #include <math.h>
 
+#ifndef FREEBSD
 #if defined(DEBUG) && defined(MPATROL) && !defined(WIN32)
 #include <mpatrol.h>
 #else
 #include <malloc.h>
 #endif
+#endif
 #include <new>		// required by _set_new_handler on linux
 
 
@@ -58,14 +60,18 @@
 #else	/* UNIX Systems */
 
 #include <unistd.h>
+
+#ifndef FREEBSD
 #include <values.h>	/* for MAXINT */
+#endif
+
 #include <strings.h>
 #include <sys/time.h>
 #include <sys/wait.h>
 #include <pthread.h>
 #include <sys/uio.h>
 
-#ifdef SOLARIS
+#if defined(SOLARIS) || defined(FREEBSD)
 #include <netinet/in_systm.h>
 #endif /* SOLARIS */