aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkosak <kosak@google.com>2015-01-08 02:35:11 +0000
committerkosak <kosak@google.com>2015-01-08 02:35:11 +0000
commitc2101c28771d8abd0f2e057cdbdc26b7a05fad2d (patch)
treef26ca7d5145827f5f6054474fb9a56e3e5311855 /src
parent102b50483a4b515a94a5b1c75db468eb071cf172 (diff)
downloadgoogletest-c2101c28771d8abd0f2e057cdbdc26b7a05fad2d.tar.gz
googletest-c2101c28771d8abd0f2e057cdbdc26b7a05fad2d.tar.bz2
googletest-c2101c28771d8abd0f2e057cdbdc26b7a05fad2d.zip
Change an example to use 'override' rather than 'virtual'. Add missing headers for 'connect' and 'socket'.
Diffstat (limited to 'src')
-rw-r--r--src/gtest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gtest.cc b/src/gtest.cc
index dc06e022..64ab7670 100644
--- a/src/gtest.cc
+++ b/src/gtest.cc
@@ -128,6 +128,8 @@
#if GTEST_CAN_STREAM_RESULTS_
# include <arpa/inet.h> // NOLINT
# include <netdb.h> // NOLINT
+# include <sys/socket.h> // NOLINT
+# include <sys/types.h> // NOLINT
#endif
// Indicates that this translation unit is part of Google Test's