commit | 2fa9c31e065fc35186c92c5d8b8c078b4f8d5a5f | [log] [tgz] |
---|---|---|
author | Roger Meier <roger@apache.org> | Mon Sep 05 19:15:53 2011 +0000 |
committer | Roger Meier <roger@apache.org> | Mon Sep 05 19:15:53 2011 +0000 |
tree | 16203c4ec7f4496f6112576d79382ce5418e6bb5 | |
parent | 212022cce6f31e363aa80c7b23336727b953d76f [diff] [blame] |
THRIFT-1320 Consistency of configure generated config.h Patch: Alexandre Parenteau git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1165400 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/test/TFileTransportTest.cpp b/lib/cpp/test/TFileTransportTest.cpp index 6dbe7c8..6ba71f3 100644 --- a/lib/cpp/test/TFileTransportTest.cpp +++ b/lib/cpp/test/TFileTransportTest.cpp
@@ -20,7 +20,12 @@ #define _GNU_SOURCE // needed for getopt_long #endif +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif +#ifdef HAVE_SYS_TIME_H #include <sys/time.h> +#endif #include <getopt.h> #include <boost/test/unit_test.hpp>