dovecot-2.2: configure: Fixed checking for struct sockpeercred w...

dovecot at dovecot.org dovecot at dovecot.org
Tue May 14 14:14:27 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/139ab37f69df
changeset: 16346:139ab37f69df
user:      Timo Sirainen <tss at iki.fi>
date:      Tue May 14 14:14:16 2013 +0300
description:
configure: Fixed checking for struct sockpeercred with OpenBSD <5.3

diffstat:

 configure.ac |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (15 lines):

diff -r 8a0abbf545ce -r 139ab37f69df configure.ac
--- a/configure.ac	Tue May 14 14:02:36 2013 +0300
+++ b/configure.ac	Tue May 14 14:14:16 2013 +0300
@@ -433,7 +433,10 @@
 	       walkcontext dirfd clearenv malloc_usable_size glob fallocate \
 	       posix_fadvise getpeereid getpeerucred)
 
-AC_CHECK_TYPES([struct sockpeercred],,,[#include <sys/socket.h>])
+AC_CHECK_TYPES([struct sockpeercred],,,[
+#include <sys/types.h>
+#include <sys/socket.h>
+])
 
 AC_SEARCH_LIBS(clock_gettime, rt, [
   AC_DEFINE(HAVE_CLOCK_GETTIME,, Define if you have the clock_gettime function)


More information about the dovecot-cvs mailing list