1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/audio/xtuner/files/patch-aa
Satoshi Asami e35b30af8f We're defining TRUE, might as well FALSE alongside it to make this
port compile.

Submitted by:	bento
2000-11-14 13:08:57 +00:00

34 lines
681 B
Plaintext

--- xtuner.h.orig Thu Dec 19 20:33:57 1996
+++ xtuner.h Wed Jul 19 13:35:42 2000
@@ -9,15 +9,14 @@
#if (defined(BSD) && (BSD >= 199306))
# include <osreldate.h>
# include <stdlib.h>
-# include "/usr/X11/include/X11/forms.h"
# include <machine/cpufunc.h>
# include <machine/soundcard.h>
#else
# include <asm/io.h>
-# include "forms.h"
# include <linux/soundcard.h>
#endif
+#include "forms.h"
#include <X11/xpm.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
@@ -48,6 +47,13 @@
int fpiopl;
#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+#ifndef FALSE
+#define FALSE 0
+#endif
+
#define ON 1
#define OFF 0
#define AUTOON 2