From ea2f3f9e7afef112069aaf647c8e2bd5c0c2bc2f Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Fri, 30 Jan 2015 16:20:46 +1100 Subject: liblink: fix arm build again Another attempt to fix the arm build by moving the include of signal.h to cmd/lex.c, unless we are building on plan9. Obviously if we had a plan9/arm builder this would probably not work, but this is only a temporary measure until the c2go transition is complete. Change-Id: I7f8ae27349b2e7a09c55db03e02a01939159a268 Reviewed-on: https://go-review.googlesource.com/3566 Reviewed-by: Russ Cox --- include/u.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/u.h b/include/u.h index 489b2a3886..0ae228a9c5 100644 --- a/include/u.h +++ b/include/u.h @@ -69,9 +69,12 @@ extern "C" { #include #include #include /* for tolower */ -#include #include +#ifndef PLAN9 +#include +#endif + /* * OS-specific crap */ -- cgit v1.3