Only include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax.
authorkettenis <kettenis@openbsd.org>
Sat, 27 Dec 2014 16:04:22 +0000 (16:04 +0000)
committerkettenis <kettenis@openbsd.org>
Sat, 27 Dec 2014 16:04:22 +0000 (16:04 +0000)
ok miod@

lib/csu/crt0.c

index 965eba6..f130e57 100644 (file)
@@ -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