diff -Naupr proftpd-1.3.1rc3.orig/lib/sstrncpy.c proftpd-1.3.1rc3/lib/sstrncpy.c
--- proftpd-1.3.1rc3.orig/lib/sstrncpy.c 2006-12-06 05:05:31.000000000 +0100
+++ proftpd-1.3.1rc3/lib/sstrncpy.c 2007-08-19 17:45:27.000000000 +0200
@@ -24,6 +24,10 @@
* the source code for OpenSSL in the source distribution.
*/
+#ifdef HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>