summaryrefslogtreecommitdiff
path: root/lib/strnlen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/strnlen.c')
-rw-r--r--lib/strnlen.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/strnlen.c b/lib/strnlen.c
index dd22db92e6..f5681ca383 100644
--- a/lib/strnlen.c
+++ b/lib/strnlen.c
@@ -17,6 +17,10 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#if HAVE_CONFIG_H
+# include <config.h>
+#endif
+
#include <string.h>
#ifndef HAVE_DECL_MEMCHR