summaryrefslogtreecommitdiff
path: root/audio/xtuner/files/patch-aa
blob: 9619159db448ab3980c47c2924b79d88595582f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
--- 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