From ff1370e8db1ebf4289d4675f34f5ba7185680e20 Mon Sep 17 00:00:00 2001 From: pljakobs Date: Sun, 31 Jan 2016 10:11:43 +0100 Subject: [PATCH] minor changes to build on Fedora fixed library includes, tested build on F21 and Cygwin --- fontconvert/Makefile | 2 +- fontconvert/fontconvert.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fontconvert/Makefile b/fontconvert/Makefile index 7ec5a96..47f5a0e 100644 --- a/fontconvert/Makefile +++ b/fontconvert/Makefile @@ -1,7 +1,7 @@ all: fontconvert CC = gcc -CFLAGS = -Wall -I/usr/local/include/freetype2 +CFLAGS = -Wall -I/usr/local/include/freetype2 -I/usr/include/freetype2 -I/usr/include LIBS = -lfreetype fontconvert: fontconvert.c diff --git a/fontconvert/fontconvert.c b/fontconvert/fontconvert.c index fca7274..c6d6498 100644 --- a/fontconvert/fontconvert.c +++ b/fontconvert/fontconvert.c @@ -19,6 +19,7 @@ See notes at end for glyph nomenclature & other tidbits. #include #include +#include #include #include FT_GLYPH_H #include "../gfxfont.h" // Adafruit_GFX font structures