summaryrefslogtreecommitdiffabout
path: root/test/OP.cc
Side-by-side diff
Diffstat (limited to 'test/OP.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--test/OP.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/OP.cc b/test/OP.cc
index 6012b2e..4e2a5ed 100644
--- a/test/OP.cc
+++ b/test/OP.cc
@@ -4,3 +4,2 @@
#include <string>
-#include <ext/algorithm>
using namespace std;
@@ -18,2 +17,7 @@ using namespace std;
+#include "config.h"
+#ifdef HAVE_EXT_ALGORITHM_H
+# include <ext/algorithm>
+#endif
+
#include "sqlite.h"