aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/nas/files/patch-server_os_utils.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/nas/files/patch-server_os_utils.c b/audio/nas/files/patch-server_os_utils.c
new file mode 100644
index 000000000000..c271dafd76c1
--- /dev/null
+++ b/audio/nas/files/patch-server_os_utils.c
@@ -0,0 +1,16 @@
+$FreeBSD$
+
+ utils.c:124: conflicting types for `sbrk'
+ /usr/include/unistd.h:212: previous declaration of `sbrk'
+
+--- server/os/utils.c.orig Sat May 25 10:07:51 2002
++++ server/os/utils.c Sat May 25 10:21:48 2002
+@@ -120,7 +120,7 @@ static mutex print_lock
+
+ void ddxUseMsg(void);
+
+-#if !defined(SVR4) && !defined(hpux) && !defined(linux) && !defined(AMOEBA) && !defined(_MINIX)
++#if !defined(SVR4) && !defined(hpux) && !defined(linux) && !defined(AMOEBA) && !defined(_MINIX) && !defined(__FreeBSD__)
+ extern char *sbrk();
+ #endif
+