canon-host: Include netdb.h instead of getaddrinfo.h.
authorJim Meyering <meyering@redhat.com>
Mon, 20 Oct 2008 12:00:31 +0000 (14:00 +0200)
committerJim Meyering <meyering@redhat.com>
Mon, 20 Oct 2008 12:00:31 +0000 (14:00 +0200)
ChangeLog
lib/canon-host.c

index 402e2d6..2cf7e62 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
 2008-10-20  Simon Josefsson  <simon@josefsson.org>
 
+       * lib/canon-host.c: Include netdb.h instead of getaddrinfo.h.
+
+2008-10-20  Simon Josefsson  <simon@josefsson.org>
+
        * lib/getaddrinfo.h: Remove file.
        * modules/getaddrinfo: Reflect move from getaddrinfo.h to netdb.h.
        * m4/getaddrinfo.m4: Call gl_HEADER_NETDB.  Don't check for netdb.h.
index b5aa1b7..df9cbbf 100644 (file)
@@ -1,6 +1,6 @@
 /* Host name canonicalization
 
-   Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+   Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
 
    Written by Derek Price <derek@ximbiot.com>.
 
@@ -22,8 +22,7 @@
 #include "canon-host.h"
 
 #include <string.h>
-
-#include "getaddrinfo.h"
+#include <netdb.h>
 
 /* Store the last error for the single-threaded version of this function.  */
 static int last_cherror;