diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/lib/replace/libreplace.m4 | 11 |
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 |