summaryrefslogtreecommitdiff
path: root/net/cnet/files/patch-ad
blob: 61d6301ed5a2e9e3e0cbf0727e0564ff985de792 (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
--- src/compile.c.orig	Wed Apr 21 23:26:23 1999
+++ src/compile.c	Fri Mar  3 07:16:22 2000
@@ -2,6 +2,7 @@
 
 #include <fcntl.h>
 #include <sys/stat.h>
+#include <dlfcn.h>
 
 #if	!defined(MAXPATHLEN)
 #define	MAXPATHLEN	1024
@@ -26,6 +27,9 @@
 #elif	defined(USE_IRIX5)
 #include "irix5/compile.c"
 
+#elif	defined(USE_FREEBSD)
+#include "freebsd/compile.c"
+
 #endif
 
 
@@ -141,6 +145,10 @@
 {
 
 #define	RECIEVE		"[Rr][Ee][Cc][IiEe][Ee][Vv]"
+
+#if	defined(USE_FREEBSD)
+#include	<unistd.h>
+#endif
 
 #if	defined(SVR4) || defined(__svr4__)
 #include <regexpr.h>