mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
2324fd2b3d
PR: 17234 Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
32 lines
565 B
Plaintext
32 lines
565 B
Plaintext
--- 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>
|