summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-07-04 14:12:42 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-07-04 14:12:42 (GMT)
commit3b72ad847c813fc4d2c3f63786810d6d1cca5416 (patch)
tree2c1167a4d4ac86af2fe8c39b96af935beb815ec3
parent1e85f1b2bd30c0d93b4a2ef37b35abeae3d15b56 (diff)
downloadlasso-master.zip
lasso-master.tar.gz
lasso-master.tar.bz2
fix missing include <strings.h> for index() (fixes #33791)HEADmaster
tests/basic_tests.c:2141:7: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] qs = index(authnRequestUrl, '?') + 1; ^~~~~ tests/basic_tests.c:2141:7: warning: incompatible implicit declaration of built-in function 'index'
-rw-r--r--tests/basic_tests.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basic_tests.c b/tests/basic_tests.c
index 84999a1..42e3747 100644
--- a/tests/basic_tests.c
+++ b/tests/basic_tests.c
@@ -22,6 +22,7 @@
#include <stdlib.h>
#include <string.h>
+#include <strings.h>
#include <check.h>