1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/audio/pd/files/patch-src_x_misc.c
Kris Kennaway 280725774f Add pd-0.35.23
Pd is a real-time graphical programming environment for audio and
   graphical processing. It resembles the Max/MSP system but is much
   simpler and more portable; also Pd has two features not (yet) showing
   up in Max/MSP: first, via Mark Dank's GEM package, Pd can be used
   for simultaneous computer animation and computer audio. Second, an
   experimental facility is provided for defining and accessing data
   structures.

Submitted by:	trevor
2002-05-25 11:48:29 +00:00

20 lines
383 B
C

--- 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