diff options
| author | Dave Cheney <dave@cheney.net> | 2015-01-30 16:20:46 +1100 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2015-01-30 14:45:37 +0000 |
| commit | ea2f3f9e7afef112069aaf647c8e2bd5c0c2bc2f (patch) | |
| tree | 93e313209ddd1247617b7427d3b7770b1caf3ae1 /include/u.h | |
| parent | 3c3848ad92bac9edce2ec1e510c01f9bf2317ea3 (diff) | |
| download | go-ea2f3f9e7afef112069aaf647c8e2bd5c0c2bc2f.tar.xz | |
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 <rsc@golang.org>
Diffstat (limited to 'include/u.h')
| -rw-r--r-- | include/u.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 <stddef.h> #include <math.h> #include <ctype.h> /* for tolower */ -#include <signal.h> #include <time.h> +#ifndef PLAN9 +#include <signal.h> +#endif + /* * OS-specific crap */ |
