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

10 lines
252 B
C++

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