From brad at comstyle.com Sun Apr 15 05:40:24 2012 From: brad at comstyle.com (Brad Smith) Date: Sun, 15 Apr 2012 05:40:24 -0400 Subject: [smpeg] Fix autoconf socklen_t macro Message-ID: <20120415094022.GA18220@rox.home.comstyle.com> Here is a patch to fix the socklen_t macro to be able to build and work on OpenBSD. This fixes the build of smpeg on OpenBSD. Index: acinclude/socklen_t.m4 =================================================================== --- acinclude/socklen_t.m4 (revision 394) +++ acinclude/socklen_t.m4 (working copy) @@ -12,8 +12,9 @@ [AC_CACHE_CHECK([for socklen_t], ac_cv_type_socklen_t, [ AC_TRY_COMPILE( - [#include ], - [socklen_t len = 42; return len;], + [#include + #include ], + [socklen_t x;], ac_cv_type_socklen_t=yes, ac_cv_type_socklen_t=no) ]) -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.