diff --git a/swlibs/newpci/pcilib/fxdpmi.h b/swlibs/newpci/pcilib/fxdpmi.h index 81e1aad..40ee7f6 100644 --- a/swlibs/newpci/pcilib/fxdpmi.h +++ b/swlibs/newpci/pcilib/fxdpmi.h @@ -2,7 +2,7 @@ * FxDPMI for DOS. * * Copyright (c) 2002 - Borca Daniel - * Email : dborca@yahoo.com + * Email : dborca@users.sourceforge.net * Web : http://www.geocities.com/dborca */ diff --git a/swlibs/newpci/pcilib/fxpci.c b/swlibs/newpci/pcilib/fxpci.c index d1c9823..7a4b214 100644 --- a/swlibs/newpci/pcilib/fxpci.c +++ b/swlibs/newpci/pcilib/fxpci.c @@ -27,6 +27,7 @@ #include #include #include <3dfx.h> +#include #define FX_DLL_DEFINITION #include #include diff --git a/swlibs/newpci/pcilib/makefile.autoconf.am b/swlibs/newpci/pcilib/makefile.autoconf.am index f9f5869..33eb5b1 100644 --- a/swlibs/newpci/pcilib/makefile.autoconf.am +++ b/swlibs/newpci/pcilib/makefile.autoconf.am @@ -24,6 +24,11 @@ if GLIDE_DEBUG GLIDE_DEBUG_DEFS = -DGDBG_INFO_ON endif +if DRI_BUILD +DRI_BUILD_VDEFS = -DDRI_BUILD +endif + +VDEFS = $(DRI_BUILD_VDEFS) LDEFS = $(GLIDE_DEBUG_DEFS) noinst_HEADERS = fxpci.h sst1_pci.h pcilib.h