dovecot-2.2: OpenBSD compile fix: include sys/socket.h when chec...

dovecot at dovecot.org dovecot at dovecot.org
Tue Apr 23 13:28:41 EEST 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/da8120a3a98d
changeset: 16309:da8120a3a98d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Apr 23 13:28:17 2013 +0300
description:
OpenBSD compile fix: include sys/socket.h when checking for struct sockpeercred.

diffstat:

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

diffs (12 lines):

diff -r c95cea6e1389 -r da8120a3a98d configure.ac
--- a/configure.ac	Mon Apr 22 21:51:01 2013 +0300
+++ b/configure.ac	Tue Apr 23 13:28:17 2013 +0300
@@ -433,7 +433,7 @@
 	       walkcontext dirfd clearenv malloc_usable_size glob fallocate \
 	       posix_fadvise getpeereid getpeerucred)
 
-AC_CHECK_TYPES([struct sockpeercred])
+AC_CHECK_TYPES([struct sockpeercred],,,[#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