* src/autofit/afwarp.h: Use AF_CONFIG_OPTION_USE_WARPER (#54033).
diff --git a/ChangeLog b/ChangeLog
index 61afb4d..64aa007 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-06-02 Werner Lemberg <wl@gnu.org>
+
+ * src/autofit/afwarp.h: Use AF_CONFIG_OPTION_USE_WARPER (#54033).
+
2018-05-31 Werner Lemberg <wl@gnu.org>
* src/raster/ftraster.c (black_TWorker_): Remove `gTarget' field.
diff --git a/src/autofit/afwarp.h b/src/autofit/afwarp.h
index 520b1be..38b7479 100644
--- a/src/autofit/afwarp.h
+++ b/src/autofit/afwarp.h
@@ -47,12 +47,14 @@ FT_BEGIN_HEADER
} AF_WarperRec, *AF_Warper;
+#ifdef AF_CONFIG_OPTION_USE_WARPER
FT_LOCAL( void )
af_warper_compute( AF_Warper warper,
AF_GlyphHints hints,
AF_Dimension dim,
FT_Fixed *a_scale,
FT_Fixed *a_delta );
+#endif
FT_END_HEADER