From: kettenis Date: Sat, 27 Dec 2014 16:04:22 +0000 (+0000) Subject: Only include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=145cd0a02a72938762d8a05df32574cedaae6163;p=openbsd Only include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax. ok miod@ --- 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 #include "md_init.h" +#ifdef MD_RCRT0_START #include "boot.h" +#endif /* some defaults */ #ifndef MD_START_ARGS