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
commit1f07d34ed234af32ed55692c6659b8805b91a8aa (patch)
treeeef073ed5baf2f4bec61c837cce67bc684c2b6de /lib/strnlen.c
parent8e2e012dc994b21273a3e17c2a5c19d1b17ae196 (diff)
downloadcoreutils-1f07d34ed234af32ed55692c6659b8805b91a8aa.tar.xz
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 dd22db92e..f5681ca38 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