diff --git a/source4/lib/replace/libreplace.m4 b/source4/lib/replace/libreplace.m4 index 19830bc9892..cfefb44e9c1 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 ]) +AC_CHECK_TYPE(struct sockaddr_storage, [], [], [ +AC_INCLUDES_DEFAULT +#include ]) +AC_CHECK_TYPE(struct addrinfo, [], [], [ +AC_INCLUDES_DEFAULT +#include ]) + AC_TYPE_SIGNAL AC_TYPE_UID_T AC_TYPE_MODE_T