]> Cypherpunks repositories - gostls13.git/commitdiff
runtime/cgo: include <string.h> as needed so that strerror is declared
authorIan Lance Taylor <iant@golang.org>
Thu, 15 Nov 2012 06:04:03 +0000 (22:04 -0800)
committerIan Lance Taylor <iant@golang.org>
Thu, 15 Nov 2012 06:04:03 +0000 (22:04 -0800)
R=golang-dev, dave, jsing
CC=golang-dev
https://golang.org/cl/6847051

src/pkg/runtime/cgo/gcc_freebsd_386.c
src/pkg/runtime/cgo/gcc_freebsd_amd64.c
src/pkg/runtime/cgo/gcc_netbsd_386.c
src/pkg/runtime/cgo/gcc_netbsd_amd64.c

index 2c97e2a33037314ad5427e55764b13dbab6f3341..5dae2bfe917d5c31bde2e1d3d612100570002f5a 100644 (file)
@@ -6,6 +6,7 @@
 #include <sys/signalvar.h>
 #include <pthread.h>
 #include <signal.h>
+#include <string.h>
 #include "libcgo.h"
 
 static void* threadentry(void*);
index 3beb4d7bb8620d5fcfdd68b9eee8c7d3910286ca..313e4fae7e10c6ec766567d2c521c0f0de4c389c 100644 (file)
@@ -6,6 +6,7 @@
 #include <sys/signalvar.h>
 #include <pthread.h>
 #include <signal.h>
+#include <string.h>
 #include "libcgo.h"
 
 static void* threadentry(void*);
index 3b4c75042ca7da2cfbb337d3b51d0bca75fdb385..880c02f82cc6f96f3d3a23baed81e1ec0dc6f24f 100644 (file)
@@ -5,6 +5,7 @@
 #include <sys/types.h>
 #include <pthread.h>
 #include <signal.h>
+#include <string.h>
 #include "libcgo.h"
 
 static void* threadentry(void*);
index 2afcf0283a154919b54ef1abfa7c60ae3384e932..1020306d023cd96eb02e2958089927f2e5fe9e8d 100644 (file)
@@ -5,6 +5,7 @@
 #include <sys/types.h>
 #include <pthread.h>
 #include <signal.h>
+#include <string.h>
 #include "libcgo.h"
 
 static void* threadentry(void*);