$OpenBSD: patch-_imagingft_c,v 1.1 2014/01/09 12:42:33 naddy Exp $
--- _imagingft.c.orig	Thu Nov  1 17:08:52 2012
+++ _imagingft.c	Thu Jan  9 03:31:49 2014
@@ -70,7 +70,11 @@ struct {
     const char* message;
 } ft_errors[] =
 
+#if defined(USE_FREETYPE_2_1)
+#include FT_ERRORS_H
+#else
 #include <freetype/fterrors.h>
+#endif
 
 /* -------------------------------------------------------------------- */
 /* font objects */
