Skip to content

Commit 3b68922

Browse files
Elias Naurbradfitz
Elias Naur
authored andcommitted
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 <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent b2c391b commit 3b68922

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

misc/cgo/testcarchive/main3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include <string.h>
1212
#include <time.h>
1313
#include <sched.h>
14+
#include <unistd.h>
1415

1516
#include "libgo3.h"
1617

0 commit comments

Comments
 (0)