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.
This commit is contained in:
Eric Anholt 2005-09-13 05:44:47 +00:00
commit 133edff1b4
4 changed files with 14 additions and 3 deletions

View file

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