changeset 6265:e728a303a8d8

* getaddrinfo.c: Don't include <netdb.h> included from getaddrinfo.h.
author Derek R. Price <derek@ximbiot.com>
date Tue, 20 Sep 2005 16:44:50 +0000
parents eaa3b6787ec9
children 197ea7971323
files lib/ChangeLog lib/getaddrinfo.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-20  Derek Price  <derek@ximbiot.com>
+
+	* getaddrinfo.c: Don't include <netdb.h> included from getaddrinfo.h.
+
 2005-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
 	Use a consistent style for including <config.h>.
--- a/lib/getaddrinfo.c
+++ b/lib/getaddrinfo.c
@@ -28,9 +28,6 @@
 /* Get memcpy. */
 #include <string.h>
 
-/* Get struct hostent. */
-#include <netdb.h>
-
 #include <stdbool.h>
 
 #include "gettext.h"