From 0fb58d70eb91f047e45794e1967a82fc18081af3 Mon Sep 17 00:00:00 2001 From: shiqian Date: Tue, 2 Dec 2008 23:41:01 +0000 Subject: [PATCH] Fixes compatibility with IBM z/OS. By Rainer Klaffenboeck. --- src/gtest.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gtest.cc b/src/gtest.cc index b8363912..a9ca334a 100644 --- a/src/gtest.cc +++ b/src/gtest.cc @@ -61,11 +61,13 @@ #include #elif defined(GTEST_OS_SYMBIAN) -// No autoconf on Symbian #define GTEST_HAS_GETTIMEOFDAY #include // NOLINT #elif defined(GTEST_OS_ZOS) +#define GTEST_HAS_GETTIMEOFDAY +#include // NOLINT + // On z/OS we additionally need strings.h for strcasecmp. #include