summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/boot/ficl/loader.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/ficl/loader.c b/sys/boot/ficl/loader.c
index 7aa8e3aef929..cf25d0c83298 100644
--- a/sys/boot/ficl/loader.c
+++ b/sys/boot/ficl/loader.c
@@ -32,7 +32,11 @@
**
*******************************************************************/
+#ifdef TESTMAIN
+#include <stdlib.h>
+#else
#include <stand.h>
+#endif
#include "bootstrap.h"
#include <string.h>
#include "ficl.h"