1
0
mirror of https://github.com/golang/go synced 2024-11-23 04:50:06 -07:00

misc/cgo/testcarchive: add missing header

write(2) is defined in unistd.h.

For the iOS builder.

Change-Id: I411ffe81988d8fbafffde89e4732a20af1a63325
Reviewed-on: https://go-review.googlesource.com/37962
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Elias Naur 2017-03-09 10:23:10 +01:00 committed by Brad Fitzpatrick
parent b2c391b70c
commit 3b68922575

View File

@ -11,6 +11,7 @@
#include <string.h>
#include <time.h>
#include <sched.h>
#include <unistd.h>
#include "libgo3.h"