summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2016-01-04 14:25:22 (GMT)
committerAndreas Schneider <asn@cryptomilk.org>2016-02-10 11:05:31 (GMT)
commitc995e0aa62805355c4c9fe7a21df4797591e9994 (patch)
treeea4a81397d4f69d2e47337ca2597281cbbdc7fd1
parent9fc415a88f99b881b5c9f4c227c4967fd92d292a (diff)
downloadcmocka-c995e0aa62805355c4c9fe7a21df4797591e9994.zip
cmocka-c995e0aa62805355c4c9fe7a21df4797591e9994.tar.gz
cmocka-c995e0aa62805355c4c9fe7a21df4797591e9994.tar.bz2
cmocka: Include strings.h for strcasecmp
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
-rw-r--r--src/cmocka.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmocka.c b/src/cmocka.c
index e43a8b3..4a1a613 100644
--- a/src/cmocka.c
+++ b/src/cmocka.c
@@ -31,6 +31,10 @@
#include <signal.h>
#endif
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+
#include <stdint.h>
#include <setjmp.h>
#include <stdarg.h>