]> granicus.if.org Git - apache/commitdiff
Let ap_config.h figure out whether netdb.h should be included or not.
authorBill Stoddard <stoddard@apache.org>
Fri, 21 Jan 2000 19:13:24 +0000 (19:13 +0000)
committerBill Stoddard <stoddard@apache.org>
Fri, 21 Jan 2000 19:13:24 +0000 (19:13 +0000)
This fixes a compile problem on platforms that do not have netdb.h.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84506 13f79535-47bb-0310-9956-ffa450edef68

server/util_uri.c

index b4a1ffc64925fb26df68ad49afc606768000a791..afc6adbc1ee0c502816061596123df635dd5659f 100644 (file)
@@ -63,7 +63,7 @@
 #include "http_log.h"
 #include "util_uri.h"
 #include <string.h>
-#include <netdb.h>
+#include "ap_config.h"
 
 /* Some WWW schemes and their default ports; this is basically /etc/services */
 /* This will become global when the protocol abstraction comes */