summaryrefslogtreecommitdiff
path: root/gl/strings.in.h
diff options
context:
space:
mode:
Diffstat (limited to 'gl/strings.in.h')
-rw-r--r--gl/strings.in.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gl/strings.in.h b/gl/strings.in.h
index 42600b925a..8bb455e533 100644
--- a/gl/strings.in.h
+++ b/gl/strings.in.h
@@ -37,6 +37,11 @@
#ifndef _@GUARD_PREFIX@_STRINGS_H
#define _@GUARD_PREFIX@_STRINGS_H
+#if ! @HAVE_DECL_STRNCASECMP@
+/* Get size_t. */
+# include <stddef.h>
+#endif
+
/* The definitions of _GL_FUNCDECL_RPL etc. are copied here. */