summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-12-27 16:04:23 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-12-27 16:04:23 +0000
commitff32f1258498f546f82f4d0de56333836157384b (patch)
tree8f3b1268b9cba21568af68b968d42a1f2cc1a4bc /lib
parent956e575c58c2bb738cefb7eef26434b88593557e (diff)
Only include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax.
ok miod@
Diffstat (limited to 'lib')
-rw-r--r--lib/csu/crt0.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/csu/crt0.c b/lib/csu/crt0.c
index 965eba66e97..f130e57af6a 100644
--- a/lib/csu/crt0.c
+++ b/lib/csu/crt0.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crt0.c,v 1.3 2014/12/22 03:51:08 kurt Exp $ */
+/* $OpenBSD: crt0.c,v 1.4 2014/12/27 16:04:22 kettenis Exp $ */
/*
* Copyright (c) 1995 Christopher G. Demetriou
@@ -35,7 +35,9 @@
#include <limits.h>
#include "md_init.h"
+#ifdef MD_RCRT0_START
#include "boot.h"
+#endif
/* some defaults */
#ifndef MD_START_ARGS