Fixes compatibility with IBM z/OS. By Rainer Klaffenboeck.

This commit is contained in:
shiqian 2008-12-02 23:41:01 +00:00
parent 04f025dd57
commit 0fb58d70eb

View File

@ -61,11 +61,13 @@
#include <vector>
#elif defined(GTEST_OS_SYMBIAN)
// No autoconf on Symbian
#define GTEST_HAS_GETTIMEOFDAY
#include <sys/time.h> // NOLINT
#elif defined(GTEST_OS_ZOS)
#define GTEST_HAS_GETTIMEOFDAY
#include <sys/time.h> // NOLINT
// On z/OS we additionally need strings.h for strcasecmp.
#include <strings.h>