From 1e9ee6cca46acba134d8d82a2330d1e702eabfa6 Mon Sep 17 00:00:00 2001 From: fluxgen <fluxgen> Date: Fri, 1 Mar 2002 14:53:14 +0000 Subject: minor fix --- src/tests/Resourcetest.cc | 1 + src/tests/StringUtiltest.cc | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/tests/Resourcetest.cc b/src/tests/Resourcetest.cc index 8cfae58..9379663 100644 --- a/src/tests/Resourcetest.cc +++ b/src/tests/Resourcetest.cc @@ -28,6 +28,7 @@ #include <string> #include <iostream> +#include <cstdio> using namespace std; diff --git a/src/tests/StringUtiltest.cc b/src/tests/StringUtiltest.cc index 95dd5f0..09b73c7 100644 --- a/src/tests/StringUtiltest.cc +++ b/src/tests/StringUtiltest.cc @@ -20,6 +20,9 @@ // DEALINGS IN THE SOFTWARE. #include "../StringUtil.hh" +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif //_GNU_SOURCE #include <vector> #include <iostream> -- cgit v0.11.2