aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ficl/stack.c
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>1998-11-04 03:42:16 +0000
committerMike Smith <msmith@FreeBSD.org>1998-11-04 03:42:16 +0000
commit4ce140ae69dcd2f70dfc590ef59bde12ccdaf103 (patch)
treee3f226af6020f80bf1799a7697a3afd0f382adad /sys/boot/ficl/stack.c
parent66683792a4a2e20894e0c65cfd8e4120b23bb4ef (diff)
Notes
Diffstat (limited to 'sys/boot/ficl/stack.c')
-rw-r--r--sys/boot/ficl/stack.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/boot/ficl/stack.c b/sys/boot/ficl/stack.c
index d06f3cee6cf9..aee9f8f5ff56 100644
--- a/sys/boot/ficl/stack.c
+++ b/sys/boot/ficl/stack.c
@@ -5,8 +5,12 @@
** Created: 16 Oct 1997
**
*******************************************************************/
-#include <stdlib.h>
+#ifdef TESTMAIN
+#include <stdlib.h>
+#else
+#include <stand.h>
+#endif
#include "ficl.h"
#define STKDEPTH(s) ((s)->sp - (s)->base)