summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-03-29 15:48:47 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-03-29 15:48:47 +0200
commitd0d1f389fc908d95c12e6c4d420c5d12703c7b3c (patch)
treeccef5421c6e1d992f7d4729fc0e583e514c9d7fa /tests
parent0b6f512e8e37935481de1d11b90c739070cb2565 (diff)
downloadwolfbones-d0d1f389fc908d95c12e6c4d420c5d12703c7b3c.tar.gz
wolfbones-d0d1f389fc908d95c12e6c4d420c5d12703c7b3c.tar.bz2
a fix around TEST_GETADDRINFO (we can't really test in parallel yet!)
Diffstat (limited to 'tests')
-rw-r--r--tests/port/test_getaddrinfo.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/port/test_getaddrinfo.c b/tests/port/test_getaddrinfo.c
index b18d49d..a8bf79b 100644
--- a/tests/port/test_getaddrinfo.c
+++ b/tests/port/test_getaddrinfo.c
@@ -1,7 +1,6 @@
#include "port/sys.h"
-#define TEST_GETADDRINFO
-#include "port/netdb.c" /* for getaddrinfo, NI_MAXHOST */
+#include "port/netdb.h" /* for getaddrinfo, NI_MAXHOST */
#include "port/stdlib.h" /* for exit, EXIT_SUCCESS, itoa */
#include <stdio.h> /* for fprintf */