summaryrefslogtreecommitdiff
path: root/lib/strnlen.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-04 13:20:20 +0000
committerJim Meyering <jim@meyering.net>2000-06-04 13:20:20 +0000
commite09a10a64b73f68041ba64de52dba9c91d04bca1 (patch)
tree7c87779a3646d262213b694f478bfba6ad22c534 /lib/strnlen.c
parent6e95edfd0561596b6eed80c95bf4bdfd2651a223 (diff)
downloadgnulib-e09a10a64b73f68041ba64de52dba9c91d04bca1.tar.gz
Include <config.h> if HAVE_CONFIG_H.
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