gsasl-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CVS gsasl/gl


From: gsasl-commit
Subject: CVS gsasl/gl
Date: Thu, 19 Jan 2006 16:45:27 +0100

Update of /home/cvs/gsasl/gl
In directory dopio:/tmp/cvs-serv5267/gl

Modified Files:
        gai_strerror.c getaddrinfo.h socket_.h 
Log Message:
Update.

--- /home/cvs/gsasl/gl/gai_strerror.c   2006/01/19 14:47:16     1.6
+++ /home/cvs/gsasl/gl/gai_strerror.c   2006/01/19 15:45:27     1.7
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, 
Inc.
    This file is part of the GNU C Library.
    Contributed by Philip Blundell <address@hidden>, 1997.
 
@@ -25,7 +25,9 @@
 #endif
 
 #include <stdio.h>
-#include <netdb.h>
+#ifdef HAVE_NETDB_H
+# include <netdb.h>
+#endif
 
 #ifdef _LIBC
 # include <libintl.h>
--- /home/cvs/gsasl/gl/getaddrinfo.h    2006/01/19 14:47:16     1.11
+++ /home/cvs/gsasl/gl/getaddrinfo.h    2006/01/19 15:45:27     1.12
@@ -1,5 +1,5 @@
 /* Get address information.
-   Copyright (C) 1996-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1996-2002, 2003, 2004, 2005, 2006 Free Software Foundation, 
Inc.
    Contributed by Simon Josefsson <address@hidden>.
 
    This program is free software; you can redistribute it and/or modify
@@ -26,7 +26,9 @@
 # include <sys/types.h>
 /* Get all getaddrinfo related declarations, if available.  */
 # include <sys/socket.h>
+#ifdef HAVE_NETDB_H
 # include <netdb.h>
+#endif
 
 # ifndef HAVE_STRUCT_ADDRINFO
 
@@ -65,10 +67,16 @@
 #  define EAI_FAMILY     -6    /* `ai_family' not supported.  */
 #  define EAI_SOCKTYPE   -7    /* `ai_socktype' not supported.  */
 #  define EAI_SERVICE    -8    /* SERVICE not supported for `ai_socktype'.  */
-#  define EAI_ADDRFAMILY  -9   /* Address family for NAME not supported.  */
 #  define EAI_MEMORY     -10   /* Memory allocation failure.  */
-#  define EAI_SYSTEM     -11   /* System error returned in `errno'.  */
 #  define EAI_OVERFLOW   -12   /* Argument buffer overflow.  */
+#endif
+# ifndef EAI_ADDRFAMILY
+/* Not define on mingw32. */
+#  define EAI_ADDRFAMILY  -9   /* Address family for NAME not supported.  */
+# endif
+# ifndef EAI_SYSTEM
+/* Not define on mingw32. */
+#  define EAI_SYSTEM     -11   /* System error returned in `errno'.  */
 # endif
 
 # ifdef __USE_GNU
--- /home/cvs/gsasl/gl/socket_.h        2006/01/19 13:58:35     1.3
+++ /home/cvs/gsasl/gl/socket_.h        2006/01/19 15:45:27     1.4
@@ -27,6 +27,7 @@
    winsock2.h and ws2tcpip.h that declare the sys/socket.h definitions
    we need. */
 
+#define WINVER 0x0501
 #if HAVE_WINSOCK2_H
 # include <winsock2.h>
 #endif





reply via email to

[Prev in Thread] Current Thread [Next in Thread]