Include alloca.h if available.
[m17n/libotf.git] / example / otftobdf.c
index 9ea49ba..b9488da 100644 (file)
@@ -26,6 +26,11 @@ write to the Free Software Foundation, Inc., 59 Temple Place, Suite
 #include <ft2build.h>
 #include FT_FREETYPE_H
 
+#include "config.h"
+#ifdef HAVE_ALLOCA_H
+#include <alloca.h>
+#endif
+
 #define DEFAULT_PIXEL_SIZE 16
 
 FT_Face face;