summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2011-12-12 20:57:27 +0000
committerjoe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845>2011-12-12 20:57:27 +0000
commit9083a5653661351d93a5eef777b3a0b31ee07083 (patch)
tree5b00c43913a451636e8f89e4d5df10bd6acb4218
parentd333906f1a6be1e622508662f0419e166f47c2da (diff)
downloadneon-0.29.x.tar.gz
* test/common/tests.c: Fix build with neon < 0.26.x, for bundled litmus0.29.x
build. git-svn-id: http://svn.webdav.org/repos/projects/neon/branches/0.29.x@1879 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
-rw-r--r--test/common/tests.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/common/tests.c b/test/common/tests.c
index 1ef9981..8ee237e 100644
--- a/test/common/tests.c
+++ b/test/common/tests.c
@@ -45,7 +45,9 @@
#include "ne_string.h"
#include "ne_utils.h"
#include "ne_socket.h"
+#if NE_VERSION_MAJOR > 0 || NE_VERSION_MINOR > 25
#include "ne_i18n.h"
+#endif
#include "tests.h"
#include "child.h"
@@ -188,7 +190,9 @@ int main(int argc, char *argv[])
setlocale(LC_MESSAGES, "");
#endif
+#if NE_VERSION_MAJOR > 0 || NE_VERSION_MAJOR > 25
ne_i18n_init(NULL);
+#endif
#if defined(HAVE_ISATTY) && defined(STDOUT_FILENO)
if (isatty(STDOUT_FILENO)) {