From 145cd0a02a72938762d8a05df32574cedaae6163 Mon Sep 17 00:00:00 2001 From: kettenis Date: Sat, 27 Dec 2014 16:04:22 +0000 Subject: [PATCH] Only include "boot.h" if MD_RCRT0_START is defined. Should fix build on vax. ok miod@ --- lib/csu/crt0.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.20.1