aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2003-01-05 12:35:51 +0800
committerdinoex <dinoex@FreeBSD.org>2003-01-05 12:35:51 +0800
commitd69ce359c61fbc41a40670ed1097d7274c3c52c1 (patch)
treea0f0aeb5bd5a4ad32f59e7dc3c0e1cd3a911da3a
parentb6fc97269d9c4bfffc227c0cfb9761e77328c840 (diff)
downloadfreebsd-ports-gnome-d69ce359c61fbc41a40670ed1097d7274c3c52c1.tar.gz
freebsd-ports-gnome-d69ce359c61fbc41a40670ed1097d7274c3c52c1.tar.zst
freebsd-ports-gnome-d69ce359c61fbc41a40670ed1097d7274c3c52c1.zip
kill anonther malloc.h problem
-rw-r--r--x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c b/x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c
index 4a88b41dee54..526a5e27eac6 100644
--- a/x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c
+++ b/x11-toolkits/gnustep-gui/files/extra-pa_unix_oss.c
@@ -1,6 +1,16 @@
--- Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c.orig Wed Oct 2 05:34:54 2002
-+++ Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c Mon Dec 2 09:21:34 2002
-@@ -110,7 +110,11 @@
++++ Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c Sun Jan 5 05:33:48 2003
+@@ -95,7 +95,9 @@
+
+ #include <stdio.h>
+ #include <stdlib.h>
++#ifndef __FreeBSD__
+ #include <malloc.h>
++#endif
+ #include <memory.h>
+ #include <math.h>
+ #include <sys/ioctl.h>
+@@ -110,7 +112,11 @@
#ifdef __linux__
#include <linux/soundcard.h>
#else