opnsense-ports/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgunzip.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
388 B
C++

--- src/google/protobuf/testing/zcgunzip.cc.orig 2014-09-30 23:01:39.718744075 +0800
+++ src/google/protobuf/testing/zcgunzip.cc 2014-09-30 23:02:05.753740335 +0800
@@ -44,6 +44,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>