]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: include <signal.h> to fix build
authorIan Lance Taylor <iant@golang.org>
Tue, 24 Dec 2013 16:24:32 +0000 (08:24 -0800)
committerIan Lance Taylor <iant@golang.org>
Tue, 24 Dec 2013 16:24:32 +0000 (08:24 -0800)
R=golang-codereviews
TBR=dfc
CC=golang-codereviews
https://golang.org/cl/43120044

src/pkg/runtime/cgo/gcc_freebsd_arm.c
src/pkg/runtime/cgo/gcc_linux_arm.c

index 6e0f3b55bcbce83d5d033cae58321e0192f8d67c..936f4a973a9694f149b0f7c8aaad1dbc884fc5d8 100644 (file)
@@ -5,6 +5,7 @@
 #include <sys/types.h>
 #include <machine/sysarch.h>
 #include <pthread.h>
+#include <signal.h>
 #include <string.h>
 #include "libcgo.h"
 
index 5edf537dd46ead902d6f161a23d1197966202646..0325681556d5f930562f6fe345c95cd907a6f7e4 100644 (file)
@@ -4,6 +4,7 @@
 
 #include <pthread.h>
 #include <string.h>
+#include <signal.h>
 #include "libcgo.h"
 
 static void *threadentry(void*);