freebsd-ports/devel/protobuf25/files/patch-src__google__protobuf__testing__zcgunzip.cc
Dmitry Sivachenko ce571af382 Resurrect protobuf port as of rev. 369705 (last version before update to
2.6.0).  devel/hadoop2 needs that specific version.
2014-10-04 18:17:41 +00: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>