aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-02-19 21:34:01 -0800
committerElliott Hughes <enh@google.com>2015-02-19 21:34:01 -0800
commit5fa09236b165ef5773a1503349ca8d04fbf82099 (patch)
tree7f0bbcedd292c7915dd303ee03d050361acb017a
parent50761abed8f4734970874165b386cfd4d9599db4 (diff)
downloadlibgsm-5fa09236b165ef5773a1503349ca8d04fbf82099.tar.gz
memcpy is in <string.h>, not <stdlib.h>.
Change-Id: I313cbf5edd2898bb3bd30f6852bc008af3c93a7a
-rw-r--r--src/code.c4
1 files changed, 2 insertions, 2 deletions
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));