Skip to content

Instantly share code, notes, and snippets.

@simonwelsh
Created March 15, 2014 03:55
Show Gist options
  • Save simonwelsh/9561640 to your computer and use it in GitHub Desktop.
Save simonwelsh/9561640 to your computer and use it in GitHub Desktop.
diff --git a/hphp/runtime/ext/gd/libgd/gdft.cpp b/hphp/runtime/ext/gd/libgd/gdft.cpp
index e2a511b..29158ab 100644
--- a/hphp/runtime/ext/gd/libgd/gdft.cpp
+++ b/hphp/runtime/ext/gd/libgd/gdft.cpp
@@ -61,7 +61,8 @@ gdImageStringFT (gdImage * im, int *brect, int fg, char *fontlist,
#else
#include "gdcache.h"
-#include <freetype/config/ftheader.h>
+#include <ft2build.h>
+#include FT_CONFIG_CONFIG_H
#include FT_FREETYPE_H
#include FT_GLYPH_H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment