projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make the test compile on BeOS.
[gnulib.git]
/
tests
/
test-getaddrinfo.c
diff --git
a/tests/test-getaddrinfo.c
b/tests/test-getaddrinfo.c
index
c18c4b9
..
c69dadb
100644
(file)
--- a/
tests/test-getaddrinfo.c
+++ b/
tests/test-getaddrinfo.c
@@
-24,6
+24,11
@@
#include <stdio.h>
#include <string.h>
+/* BeOS does not have AF_UNSPEC. */
+#ifndef AF_UNSPEC
+# define AF_UNSPEC 0
+#endif
+
int simple (char *host, char *service)
{
char buf[BUFSIZ];