mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
include sys/types.h too when checking for headers as otherwise this breaks
on Solaris and FreeBSD. At least.
This commit is contained in:
parent
9afaa51e3f
commit
7ae3f0e70c
@ -71,6 +71,9 @@ AC_CHECK_HEADERS(
|
|||||||
arpa/nameser_compat.h \
|
arpa/nameser_compat.h \
|
||||||
arpa/inet.h, , ,
|
arpa/inet.h, , ,
|
||||||
[
|
[
|
||||||
|
#ifdef HAVE_SYS_TYPES_H
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
dnl We do this default-include simply to make sure that the nameser_compat.h
|
dnl We do this default-include simply to make sure that the nameser_compat.h
|
||||||
dnl header *REALLY* can be include after the new nameser.h. It seems AIX 5.1
|
dnl header *REALLY* can be include after the new nameser.h. It seems AIX 5.1
|
||||||
dnl (and others?) is not designed to allow this.
|
dnl (and others?) is not designed to allow this.
|
||||||
|
Loading…
Reference in New Issue
Block a user