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: Wed, 18 Jan 2006 12:12:46 +0100

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

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

--- /home/cvs/gsasl/gl/gai_strerror.c   2005/09/19 16:00:08     1.4
+++ /home/cvs/gsasl/gl/gai_strerror.c   2006/01/18 11:11:45     1.5
@@ -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>
@@ -42,7 +44,9 @@
   }
 values[] =
   {
+#ifdef EAI_ADDRFAMILY
     { EAI_ADDRFAMILY, N_("Address family for hostname not supported") },
+#endif
     { EAI_AGAIN, N_("Temporary failure in name resolution") },
     { EAI_BADFLAGS, N_("Bad value for ai_flags") },
     { EAI_FAIL, N_("Non-recoverable failure in name resolution") },
@@ -52,7 +56,9 @@
     { EAI_NONAME, N_("Name or service not known") },
     { EAI_SERVICE, N_("Servname not supported for ai_socktype") },
     { EAI_SOCKTYPE, N_("ai_socktype not supported") },
+#ifdef EAI_ADDRFAMILY
     { EAI_SYSTEM, N_("System error") },
+#endif
 #ifdef __USE_GNU
     { EAI_INPROGRESS, N_("Processing request in progress") },
     { EAI_CANCELED, N_("Request canceled") },
--- /home/cvs/gsasl/gl/getaddrinfo.h    2005/11/30 15:22:49     1.9
+++ /home/cvs/gsasl/gl/getaddrinfo.h    2006/01/18 11:11:45     1.10
@@ -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>
-# include <netdb.h>
+# ifdef HAVE_NETDB_H
+#  include <netdb.h>
+# endif
 
 # ifndef HAVE_STRUCT_ADDRINFO
 
--- /home/cvs/gsasl/gl/socket_.h        2006/01/18 09:10:39     1.1
+++ /home/cvs/gsasl/gl/socket_.h        2006/01/18 11:11:45     1.2
@@ -34,4 +34,15 @@
 # include <ws2tcpip.h>
 #endif
 
+/* For shutdown(). */
+#ifndef SHUT_RD
+# define SHUT_RD 0
+#endif
+#ifndef SHUT_WR
+# define SHUT_WR 1
+#endif
+#ifndef SHUT_RDWR
+# define SHUT_RDWR 2
+#endif
+
 #endif /* _SYS_SOCKET_H */





reply via email to

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