opnsense-ports/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgzip.cc
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

10 lines
384 B
C++

--- src/google/protobuf/testing/zcgzip.cc.orig 2014-09-30 22:46:34.571804492 +0800
+++ src/google/protobuf/testing/zcgzip.cc 2014-09-30 22:46:50.657816315 +0800
@@ -43,6 +43,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
+#include <unistd.h> // for STDOUT_FILENO
#include <google/protobuf/io/gzip_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h>