minor changes to build on Fedora

fixed library includes, tested build on F21 and Cygwin
This commit is contained in:
pljakobs 2016-01-31 10:11:43 +01:00
parent f5ec45e42b
commit ff1370e8db
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
all: fontconvert all: fontconvert
CC = gcc 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 LIBS = -lfreetype
fontconvert: fontconvert.c fontconvert: fontconvert.c

View File

@ -19,6 +19,7 @@ See notes at end for glyph nomenclature & other tidbits.
#include <stdio.h> #include <stdio.h>
#include <ctype.h> #include <ctype.h>
#include <stdint.h>
#include <ft2build.h> #include <ft2build.h>
#include FT_GLYPH_H #include FT_GLYPH_H
#include "../gfxfont.h" // Adafruit_GFX font structures #include "../gfxfont.h" // Adafruit_GFX font structures