diff --git a/CMakeLists.txt b/CMakeLists.txt index 6e70c33..e46d731 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ link_directories(${Boost_LIBRARY_DIRS}) find_path(FF_INCLUDE_PATH fontforge/fontforge.h) if(FF_INCLUDE_PATH) message("Found fontforge.h: ${FF_INCLUDE_PATH}/fontforge/fontforge.h") + include_directories(${FF_INCLUDE_PATH}) include_directories(${FF_INCLUDE_PATH}/fontforge) else() message(FATAL_ERROR "Error: cannot locate fontforge.h") diff --git a/src/ff/ff.c b/src/ff/ff.c index 2eb2a2d..b235866 100644 --- a/src/ff/ff.c +++ b/src/ff/ff.c @@ -12,6 +12,7 @@ #include #include +#include #include #include