From 782b75c0d58605320df7ba1eb128b8d8104856aa Mon Sep 17 00:00:00 2001 From: deuce <> Date: Sun, 28 May 2006 21:52:22 +0000 Subject: [PATCH] X11 header path needs to be included in XPDEV-MT_CLFAGS, not just the local CFLAGS. --- src/xpdev/Common.gmake | 1 + src/xpdev/GNUmakefile | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xpdev/Common.gmake b/src/xpdev/Common.gmake index 78b08e6dfe..6631ce658c 100644 --- a/src/xpdev/Common.gmake +++ b/src/xpdev/Common.gmake @@ -137,3 +137,4 @@ else endif endif +XPDEV-MT_CFLAGS += -I$(X_HEADERS) diff --git a/src/xpdev/GNUmakefile b/src/xpdev/GNUmakefile index c8bf7f17bb..8329b17ced 100644 --- a/src/xpdev/GNUmakefile +++ b/src/xpdev/GNUmakefile @@ -12,7 +12,6 @@ ifeq ($(shell if [ -f /usr/include/alsa/asoundlib.h ] ; then echo YES ; fi),YES) endif MT_CFLAGS += $(XPDEV-MT_CFLAGS) -MT_CFLAGS += -I$(X_HEADERS) ifdef WITH_SDL MTOBJS += $(MTOBJODIR)$(DIRSEP)sdlfuncs$(OFILE) endif -- GitLab