+2006-08-26 Bruno Haible <bruno@clisp.org>
+ Simon Josefsson <jas@extundo.com>
+
+ BeOS portability.
+ * getaddrinfo.c (PF_INET, PF_UNSPEC): New macros.
+
2006-08-28 Bruno Haible <bruno@clisp.org>
* c-strstr.h: New file, from GNU gettext.
#include "snprintf.h"
#include "strdup.h"
+/* BeOS has AF_INET, but not PF_INET. */
+#ifndef PF_INET
+# define PF_INET AF_INET
+#endif
+/* BeOS also lacks PF_UNSPEC. */
+#ifndef PF_UNSPEC
+# define PF_UNSPEC 0
+#endif
+
#if defined _WIN32 || defined __WIN32__
# define WIN32_NATIVE
#endif