mirror of
https://github.com/curl/curl.git
synced 2026-07-13 03:07:17 +03:00
Make header inclusion depend on HAVE_*_H definition
This commit is contained in:
parent
4f62cdf6f9
commit
809f2a190c
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@
|
|||
#include "ares_setup.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
#if !defined(WIN32) || defined(WATT32)
|
||||
#ifdef HAVE_NETDB_H
|
||||
#include <netdb.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
#include <stdio.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#if !defined(WIN32) || defined(WATT32)
|
||||
#ifdef HAVE_NETINET_IN_H
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue