summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ffi_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/ffi_common.h b/include/ffi_common.h
index 37f5a9e..be10922 100644
--- a/include/ffi_common.h
+++ b/include/ffi_common.h
@@ -48,7 +48,7 @@ char *alloca ();
#endif
/* Check for the existence of memcpy. */
-#if STDC_HEADERS
+#if STDC_HEADERS || HAVE_STRING_H
# include <string.h>
#else
# ifndef HAVE_MEMCPY