commit | 5fa09236b165ef5773a1503349ca8d04fbf82099 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Thu Feb 19 21:34:01 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Thu Feb 19 21:34:01 2015 -0800 |
tree | 7f0bbcedd292c7915dd303ee03d050361acb017a | |
parent | 50761abed8f4734970874165b386cfd4d9599db4 [diff] |
memcpy is in <string.h>, not <stdlib.h>. Change-Id: I313cbf5edd2898bb3bd30f6852bc008af3c93a7a
diff --git a/src/code.c b/src/code.c index 65dd0a3..402f614 100644 --- a/src/code.c +++ b/src/code.c
@@ -9,8 +9,8 @@ #include "config.h" -#ifdef HAS_STDLIB_H -#include <stdlib.h> +#ifdef HAS_STRING_H +#include <string.h> #else # include "proto.h" extern char * memcpy P((char *, char *, int));