aboutsummaryrefslogtreecommitdiff
path: root/audio/pd/files/patch-src_x_misc.c
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-25 11:48:29 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-25 11:48:29 +0000
commit280725774faa4e3d91ff599cca3a1466c77d300e (patch)
tree1c3ef73ccf694e94a9d75c5015cca2f5205e60f4 /audio/pd/files/patch-src_x_misc.c
parent8bab117baad93fca79e90f626b6047de85efbb7f (diff)
Notes
Diffstat (limited to 'audio/pd/files/patch-src_x_misc.c')
-rw-r--r--audio/pd/files/patch-src_x_misc.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/audio/pd/files/patch-src_x_misc.c b/audio/pd/files/patch-src_x_misc.c
new file mode 100644
index 000000000000..49075dd72d5f
--- /dev/null
+++ b/audio/pd/files/patch-src_x_misc.c
@@ -0,0 +1,19 @@
+--- src/x_misc.c.orig Fri Nov 16 23:56:31 2001
++++ src/x_misc.c Fri May 24 23:12:26 2002
+@@ -10,6 +10,7 @@
+ #include <string.h>
+ #ifdef UNIX
+ #include <sys/types.h>
++#include <sys/time.h>
+ #include <sys/times.h>
+ #include <sys/param.h>
+ #endif
+@@ -18,7 +19,7 @@
+ #include <time.h>
+ #endif
+
+-#ifdef MACOSX
++#if defined (MACOSX) || defined (__FreeBSD__)
+ #define HZ CLK_TCK
+ #endif
+