aboutsummaryrefslogtreecommitdiff
path: root/audio/pd/files/patch-src_x_misc.c
diff options
context:
space:
mode:
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
+