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 402e2d6a1ed6b696cb12ffa081fe50b32e62e0a8..2cf7e62213e0e1552a6ee18947ce64c4a394eea9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
        are supported or needed.  Reported by Bruno Haible
        <bruno@clisp.org>.
 
+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.
index b5aa1b7819a7960522b5180ff7e027e675ebe6f5..df9cbbfb2ec331c5c47f35343ca468e97ff3c76c 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;