diff options
| author | Ian Lance Taylor <iant@golang.org> | 2013-12-24 08:24:32 -0800 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2013-12-24 08:24:32 -0800 |
| commit | 59583b09f3165dedd46800f46000c83c92a7faba (patch) | |
| tree | 6449d530dd9f81245b9b5bb5557cd2d50b7d6ec3 /src | |
| parent | 699dbb60b7274a525f53797aa1d145cc762cf953 (diff) | |
| download | go-59583b09f3165dedd46800f46000c83c92a7faba.tar.xz | |
runtime/cgo: include <signal.h> to fix build
R=golang-codereviews
TBR=dfc
CC=golang-codereviews
https://golang.org/cl/43120044
Diffstat (limited to 'src')
| -rw-r--r-- | src/pkg/runtime/cgo/gcc_freebsd_arm.c | 1 | ||||
| -rw-r--r-- | src/pkg/runtime/cgo/gcc_linux_arm.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/pkg/runtime/cgo/gcc_freebsd_arm.c b/src/pkg/runtime/cgo/gcc_freebsd_arm.c index 6e0f3b55bc..936f4a973a 100644 --- a/src/pkg/runtime/cgo/gcc_freebsd_arm.c +++ b/src/pkg/runtime/cgo/gcc_freebsd_arm.c @@ -5,6 +5,7 @@ #include <sys/types.h> #include <machine/sysarch.h> #include <pthread.h> +#include <signal.h> #include <string.h> #include "libcgo.h" diff --git a/src/pkg/runtime/cgo/gcc_linux_arm.c b/src/pkg/runtime/cgo/gcc_linux_arm.c index 5edf537dd4..0325681556 100644 --- a/src/pkg/runtime/cgo/gcc_linux_arm.c +++ b/src/pkg/runtime/cgo/gcc_linux_arm.c @@ -4,6 +4,7 @@ #include <pthread.h> #include <string.h> +#include <signal.h> #include "libcgo.h" static void *threadentry(void*); |
