summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TOOLS/subfont-c/Makefile2
-rw-r--r--TOOLS/subfont-c/subfont.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/TOOLS/subfont-c/Makefile b/TOOLS/subfont-c/Makefile
index b93a23b837..dbdef85449 100644
--- a/TOOLS/subfont-c/Makefile
+++ b/TOOLS/subfont-c/Makefile
@@ -4,7 +4,7 @@ MPROOT=../..
include $(MPROOT)/config.mak
LDLIBS=-lm $(MPROOT)/osdep/timer-lx.o $(shell freetype-config --libs)
-CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags)
+CFLAGS=$(OPTFLAGS) $(shell freetype-config --cflags) -I$(MPROOT)
#CFLAGS+=-O0 # for RedHat's gcc-2.96-95
#CFLAGS+=-DOLD_FREETYPE2 # for FreeType 2.0.1
diff --git a/TOOLS/subfont-c/subfont.c b/TOOLS/subfont-c/subfont.c
index 0ac14ba6cb..f958855d22 100644
--- a/TOOLS/subfont-c/subfont.c
+++ b/TOOLS/subfont-c/subfont.c
@@ -26,8 +26,8 @@
#endif
-#include "../../bswap.h"
-#include "../../osdep/timer.h"
+#include "bswap.h"
+#include "osdep/timer.h"
#ifndef DEBUG
#define DEBUG 0