freebsd-ports/audio/xtuner/files/patch-aa

37 lines
745 B
Text

--- xtuner.h.orig Thu Dec 19 11:33:57 1996
+++ xtuner.h Sun Sep 8 03:33:58 2002
@@ -9,15 +9,18 @@
#if (defined(BSD) && (BSD >= 199306))
# include <osreldate.h>
# include <stdlib.h>
-# include "/usr/X11/include/X11/forms.h"
# include <machine/cpufunc.h>
+#ifdef __FreeBSD__
+# include <sys/soundcard.h>
+#else
# include <machine/soundcard.h>
+#endif
#else
# include <asm/io.h>
-# include "forms.h"
# include <linux/soundcard.h>
#endif
+#include "X11/forms.h"
#include <X11/xpm.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -46,6 +49,13 @@
#if (defined(BSD) && (BSD >= 199306))
int fpiopl;
+#endif
+
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
#endif
#define ON 1