1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 17:59:59 +00:00

include header file only when available

This commit is contained in:
Yang Tse
2008-09-15 17:14:29 +00:00
parent 746f3e2942
commit f2582d6949
14 changed files with 114 additions and 6 deletions

View File

@ -20,8 +20,12 @@
#if defined(WIN32) && !defined(WATT32)
#include "nameser.h"
#else
#ifdef HAVE_NETINET_IN_H
#include <netinet/in.h>
#endif
#ifdef HAVE_ARPA_NAMESER_H
#include <arpa/nameser.h>
#endif
#ifdef HAVE_ARPA_NAMESER_COMPAT_H
#include <arpa/nameser_compat.h>
#endif