ports/devel/protobuf/files/patch-src-google-protobuf-testing-zcgunzip.cc
Sunpoet Po-Chuan Hsieh eb52e2d45d - Allow make test
PR:		215346
Submitted by:	jbeich
2016-12-17 12:57:13 +00:00

10 lines
256 B
C++

--- src/google/protobuf/testing/zcgunzip.cc.orig 2016-09-24 02:12:45 UTC
+++ src/google/protobuf/testing/zcgunzip.cc
@@ -42,6 +42,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
+#include <unistd.h>
#ifdef _WIN32
#ifndef STDIN_FILENO