summaryrefslogtreecommitdiff
path: root/snappy-test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'snappy-test.cc')
-rw-r--r--snappy-test.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/snappy-test.cc b/snappy-test.cc
index 4619410..7f1d0a8 100644
--- a/snappy-test.cc
+++ b/snappy-test.cc
@@ -28,13 +28,16 @@
//
// Various stubs for the unit tests for the open-source version of Snappy.
-#include "snappy-test.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#ifdef HAVE_WINDOWS_H
-#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#endif
+#include "snappy-test.h"
+
#include <algorithm>
DEFINE_bool(run_microbenchmarks, true,