From: Timo Sirainen Date: Tue, 14 May 2013 11:14:16 +0000 (+0300) Subject: configure: Fixed checking for struct sockpeercred with OpenBSD <5.3 X-Git-Tag: 2.2.2~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f0ea8daa839118f4485e29df7253a571a3ec2bb;p=thirdparty%2Fdovecot%2Fcore.git configure: Fixed checking for struct sockpeercred with OpenBSD <5.3 --- diff --git a/configure.ac b/configure.ac index a67d51197e..b9c1ce5f03 100644 --- a/configure.ac +++ b/configure.ac @@ -433,7 +433,10 @@ AC_CHECK_FUNCS(fcntl flock lockf inet_aton sigaction getpagesize madvise \ walkcontext dirfd clearenv malloc_usable_size glob fallocate \ posix_fadvise getpeereid getpeerucred) -AC_CHECK_TYPES([struct sockpeercred],,,[#include ]) +AC_CHECK_TYPES([struct sockpeercred],,,[ +#include +#include +]) AC_SEARCH_LIBS(clock_gettime, rt, [ AC_DEFINE(HAVE_CLOCK_GETTIME,, Define if you have the clock_gettime function)