Parcourir la source

minor changes to build on Fedora

fixed library includes, tested build on F21 and Cygwin
pljakobs il y a 9 ans
Parent
commit
ff1370e8db
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 1 1
      fontconvert/Makefile
  2. 1 0
      fontconvert/fontconvert.c

+ 1 - 1
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

+ 1 - 0
fontconvert/fontconvert.c

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