projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9afaa51
)
include sys/types.h too when checking for headers as otherwise this breaks
author
Daniel Stenberg
<daniel@haxx.se>
Fri, 8 Apr 2005 08:48:17 +0000
(08:48 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Fri, 8 Apr 2005 08:48:17 +0000
(08:48 +0000)
on Solaris and FreeBSD. At least.
ares/configure.ac
patch
|
blob
|
history
diff --git
a/ares/configure.ac
b/ares/configure.ac
index
e5f9531
..
7e97d60
100644
(file)
--- a/
ares/configure.ac
+++ b/
ares/configure.ac
@@
-71,6
+71,9
@@
AC_CHECK_HEADERS(
arpa/nameser_compat.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 header *REALLY* can be include after the new nameser.h. It seems AIX 5.1
dnl (and others?) is not designed to allow this.