Mingw32 fixes for getaddrinfo.
[pspp] / lib / ChangeLog
index e21d1cbec2cd5d5c33939e230f7f4b64c59b0522..4e3aed77ae6caec8cc6fe78b6af24c7afa6e1b8f 100644 (file)
@@ -1,3 +1,14 @@
+2006-01-25  Simon Josefsson  <jas@extundo.com>
+
+       * socket_.h: Set WINVER to 0x0501, to make sure getaddrinfo
+       prototype is visible on mingw32.
+
+       * getaddrinfo.h: Define EAI_ADDRFAMILY and EAI_SYSTEM if not set,
+       for mingw32.
+
+       * gai_strerror.c, getaddrinfo.h: Protect netdb.h #include (for
+       mingw32).
+
 2006-01-26  Paul Eggert  <eggert@cs.ucla.edu>
 
        * fts.c (diropen): Open with O_NOCTTY | O_NONBLOCK too.  Don't