aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ficl/ficl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/ficl/ficl.c')
-rw-r--r--sys/boot/ficl/ficl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/boot/ficl/ficl.c b/sys/boot/ficl/ficl.c
index e02f13636aaa..6bf6503082e6 100644
--- a/sys/boot/ficl/ficl.c
+++ b/sys/boot/ficl/ficl.c
@@ -21,7 +21,11 @@
** Code is written in ANSI C for portability.
*/
+#ifdef TESTMAIN
#include <stdlib.h>
+#else
+#include <stand.h>
+#endif
#include <string.h>
#include "ficl.h"