Check for and use chsize instead of ftruncate if present.

diff --git a/include/config.h.in b/include/config.h.in
index 4f1b63e..12f6cd8 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -32,6 +32,9 @@
 /* Define to use .string instead of .ascii */
 #undef HAVE_ASM_STRING
 
+/* Define to 1 if you have the `chsize' function. */
+#undef HAVE_CHSIZE
+
 /* Define to 1 if you have the `clone' function. */
 #undef HAVE_CLONE
 
@@ -101,6 +104,9 @@
 /* Define to 1 if you have the <freetype/tttables.h> header file. */
 #undef HAVE_FREETYPE_TTTABLES_H
 
+/* Define to 1 if you have the `ftruncate' function. */
+#undef HAVE_FTRUNCATE
+
 /* Define to 1 if you have the `ftruncate64' function. */
 #undef HAVE_FTRUNCATE64