summaryrefslogtreecommitdiff
path: root/hw/xfree86/int10
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-09-13 05:44:47 +0000
committerEric Anholt <anholt@freebsd.org>2005-09-13 05:44:47 +0000
commit133edff1b499b2c794fcc9a1860c1b5526b58869 (patch)
treea929372175b2614231c3950aa2cfab2cb7fe004f /hw/xfree86/int10
parentc3d6799cee7ff8411b3a05a7ab7e2a9e80c95059 (diff)
Don't define POSIX_SOURCE on any BSDs, since it breaks things.
Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD. Don't include validate.c in the library, since it seems to be a userland test program.
Diffstat (limited to 'hw/xfree86/int10')
-rw-r--r--hw/xfree86/int10/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xfree86/int10/Makefile.am b/hw/xfree86/int10/Makefile.am
index 36b780ad7..03debaf02 100644
--- a/hw/xfree86/int10/Makefile.am
+++ b/hw/xfree86/int10/Makefile.am
@@ -18,7 +18,7 @@ libint10_la_SOURCES = \
endif
if INT10_X86EMU
-AM_CFLAGS = -D_X86EMU -D_PC $(XORG_CFLAGS)
+AM_CFLAGS = -D_X86EMU -DNO_SYS_HEADERS -D_PC $(XORG_CFLAGS)
INCLUDES = $(XORG_INCS) -I$(srcdir)/../x86emu
libint10_la_SOURCES = pci.c xf86int10module.c helper_exec.c helper_mem.c \
xf86int10.c xf86x86emu.c generic.c x86emu.c