summaryrefslogtreecommitdiffstats
path: root/sys/boot/ficl
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2002-08-21 09:28:00 +0000
committerscottl <scottl@FreeBSD.org>2002-08-21 09:28:00 +0000
commit5d5f15e434a974dff1f7288593b2ab345819e076 (patch)
tree5de71ff0678667adcefc5d92c31e79deefa2f160 /sys/boot/ficl
parent275611472a7bb4a878b0f78838649ad45de960ec (diff)
downloadFreeBSD-src-5d5f15e434a974dff1f7288593b2ab345819e076.zip
FreeBSD-src-5d5f15e434a974dff1f7288593b2ab345819e076.tar.gz
Fix for stand-alone compiling
Reviewed by: mini
Diffstat (limited to 'sys/boot/ficl')
-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 7aa8e3ae..cf25d0c 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"
OpenPOWER on IntegriCloud