summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-26 13:12:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:57 -0500
commiteb5af8841a58a2f87f0b0d0c1ca5062a4a6df8a6 (patch)
tree695497fed0bbe92906e9470ee082732f9447822b /source4/heimdal_build
parent4b30e2bff77c42d944818979b728756c09be568c (diff)
downloadsamba-eb5af8841a58a2f87f0b0d0c1ca5062a4a6df8a6.tar.gz
samba-eb5af8841a58a2f87f0b0d0c1ca5062a4a6df8a6.tar.bz2
samba-eb5af8841a58a2f87f0b0d0c1ca5062a4a6df8a6.zip
r10507: Let lib/replace take care of defining socklen_t for heimdal
(This used to be commit fe4ff2d241691bece7f9c8fc766f57a14fe856bb)
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.h4
-rw-r--r--source4/heimdal_build/config.m41
2 files changed, 4 insertions, 1 deletions
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h
index b97033022a..f185307b31 100644
--- a/source4/heimdal_build/config.h
+++ b/source4/heimdal_build/config.h
@@ -55,6 +55,10 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
#define OPENLOG_PROTO_COMPATIBLE
#define GETSOCKNAME_PROTO_COMPATIBLE
+#ifndef HAVE_SOCKLEN_T
+#define HAVE_SOCKLEN_T
+#endif
+
#ifndef HAVE_STRNDUP
#define HAVE_STRNDUP
#endif
diff --git a/source4/heimdal_build/config.m4 b/source4/heimdal_build/config.m4
index fadb0a13c0..a98fe728f8 100644
--- a/source4/heimdal_build/config.m4
+++ b/source4/heimdal_build/config.m4
@@ -135,7 +135,6 @@ fi
])
AC_HAVE_TYPE([sa_family_t],[#include <sys/socket.h>])
-AC_HAVE_TYPE([socklen_t],[#include <sys/socket.h>])
AC_HAVE_TYPE([struct sockaddr], [#include <sys/socket.h>])
AC_HAVE_TYPE([struct sockaddr_storage], [#include <sys/socket.h>])
AC_HAVE_TYPE([struct addrinfo], [#include <netdb.h>])