]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/resolve.c
Remove imp.h and exp.h header files
[ngircd-alex.git] / src / ngircd / resolve.c
index 6078da8b48a9b6adecec99761f9ea7c2ec1f2188..d3c89f89ef1ce6810c9150c08c13a004978129ef 100644 (file)
@@ -18,7 +18,6 @@
  * Asynchronous resolver
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <errno.h>
 #include <stdlib.h>
 #include "log.h"
 #include "ng_ipaddr.h"
 
-#include "exp.h"
 #include "resolve.h"
 #include "io.h"
 
-
 static void Do_ResolveAddr PARAMS(( const ng_ipaddr_t *Addr, int Sock, int w_fd ));
 static void Do_ResolveName PARAMS(( const char *Host, int w_fd ));
 
@@ -242,7 +239,7 @@ ForwardLookup(const char *hostname, array *IpAddr, int af)
 {
        ng_ipaddr_t addr;
 
-#ifdef HAVE_GETADDRINFO
+#ifdef HAVE_WORKING_GETADDRINFO
        int res;
        struct addrinfo *a, *ai_results;
        static struct addrinfo hints;