summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-09-10 13:02:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:18:12 -0500
commit5c104c1d2fcb06ae52c340919d9e2e0cfba9a409 (patch)
treee5510347a6e11f322613ed3ada8361f04ffddaa4
parentd159cffe2ff80e2d1b8e9cdd0c559a242599f674 (diff)
downloadsamba-5c104c1d2fcb06ae52c340919d9e2e0cfba9a409.tar.gz
samba-5c104c1d2fcb06ae52c340919d9e2e0cfba9a409.tar.bz2
samba-5c104c1d2fcb06ae52c340919d9e2e0cfba9a409.zip
r18339: need these checks for roken.h on hpux
(This used to be commit e98e0a28a0cb79e272c0caa0bcb3b5fb6bf3a17b)
-rw-r--r--source4/lib/replace/libreplace.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4
index 19830bc989..cfefb44e9c 100644
--- a/source4/lib/replace/libreplace.m4
+++ b/source4/lib/replace/libreplace.m4
@@ -58,6 +58,17 @@ AC_CHECK_TYPE(intptr_t, unsigned long long)
AC_CHECK_TYPE(uint32_t, unsigned long)
AC_CHECK_TYPE(ssize_t, int)
+dnl these are needed for heimdal roken.h
+AC_CHECK_TYPE(struct sockaddr, [], [], [
+AC_INCLUDES_DEFAULT
+#include <sys/socket.h>])
+AC_CHECK_TYPE(struct sockaddr_storage, [], [], [
+AC_INCLUDES_DEFAULT
+#include <sys/socket.h>])
+AC_CHECK_TYPE(struct addrinfo, [], [], [
+AC_INCLUDES_DEFAULT
+#include <netdb.h>])
+
AC_TYPE_SIGNAL
AC_TYPE_UID_T
AC_TYPE_MODE_T