summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/port/README1
-rw-r--r--tests/port/test_strdup.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/port/README b/docs/port/README
index 9c13a99..1c9853d 100644
--- a/docs/port/README
+++ b/docs/port/README
@@ -39,6 +39,7 @@ Currently tested on:
- x86 Linux 2.6.x
- x86 FreeBSD 6.2
- x86 OpenBSD 4.2
+- x86 NetBSD 4.0
- x86 Solaris 10
- SPARC Solaris 8
diff --git a/tests/port/test_strdup.c b/tests/port/test_strdup.c
index 98827d4..9cc1be6 100644
--- a/tests/port/test_strdup.c
+++ b/tests/port/test_strdup.c
@@ -1,7 +1,9 @@
#include "port/sys.h"
-#undef HAVE_STRDUP
+#undef HAVE_STRDUP
#include "port/string.c" /* for strdup */
+#undef strdup
+
#include <stdlib.h> /* for exit, EXIT_SUCCESS, free */
int main( void ) {