Fixed for Mac OS X builds based on excellent feedback from Heinz Stockinger.

pull/1/head
Daniel Stenberg 20 years ago
parent 1a230e91e6
commit fce7f4a6f2
  1. 5
      ares_gethostbyname.c
  2. 5
      ares_parse_aaaa_reply.c

@ -23,8 +23,13 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
#include <arpa/nameser_compat.h>
#endif
#endif
#include <stdio.h>
#include <stdlib.h>

@ -23,8 +23,13 @@
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
#include <arpa/nameser_compat.h>
#endif
#endif
#include <stdlib.h>
#include <string.h>

Loading…
Cancel
Save