Merge branch 'development' into dtls
* development:
Fix missing/misplaced #include's
diff --git a/library/dhm.c b/library/dhm.c
index a7b275f..60e955a 100644
--- a/library/dhm.c
+++ b/library/dhm.c
@@ -49,6 +49,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
+#include <stdio.h>
#define polarssl_printf printf
#define polarssl_malloc malloc
#define polarssl_free free
diff --git a/library/ecp.c b/library/ecp.c
index 298c964..26ce962 100644
--- a/library/ecp.c
+++ b/library/ecp.c
@@ -57,6 +57,7 @@
#include "polarssl/platform.h"
#else
#include <stdlib.h>
+#include <stdio.h>
#define polarssl_printf printf
#define polarssl_malloc malloc
#define polarssl_free free
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 868d648..b525c3a 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -134,7 +134,8 @@
CC=gcc CFLAGS=-Werror make
# this is meant to cath missing #define polarssl_printf etc
-msg "build: full config except platform.c" # ~ 30s
+# disable fsio to catch some more missing #include <stdio.h>
+msg "build: full config except platform/fsio" # ~ 30s
cleanup
cp "$CONFIG_H" "$CONFIG_BAK"
scripts/config.pl full
@@ -142,6 +143,7 @@
scripts/config.pl unset POLARSSL_PLATFORM_MEMORY
scripts/config.pl unset POLARSSL_MEMORY_C
scripts/config.pl unset POLARSSL_MEMORY_BUFFER_ALLOC_C
+scripts/config.pl unset POLARSSL_FS_IO
CC=gcc CFLAGS=-Werror make
if uname -a | grep -F x86_64 >/dev/null; then