1
0
mirror of https://github.com/golang/go synced 2024-11-22 19:44:57 -07:00

runtime/cgo: include <string.h> as needed so that strerror is declared

R=golang-dev, dave, jsing
CC=golang-dev
https://golang.org/cl/6847051
This commit is contained in:
Ian Lance Taylor 2012-11-14 22:04:03 -08:00
parent fa21df3144
commit cc8bd8969f
4 changed files with 4 additions and 0 deletions

View 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*);

View 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*);

View 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*);

View 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*);