From owner-svn-src-stable-9@FreeBSD.ORG Sat Dec 29 19:06:04 2012 Return-Path: Delivered-To: svn-src-stable-9@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EDF2D661; Sat, 29 Dec 2012 19:06:04 +0000 (UTC) (envelope-from gshapiro@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D01348FC08; Sat, 29 Dec 2012 19:06:04 +0000 (UTC) Received: from svn.freebsd.org (svn.FreeBSD.org [8.8.178.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBTJ64fG031084; Sat, 29 Dec 2012 19:06:04 GMT (envelope-from gshapiro@svn.freebsd.org) Received: (from gshapiro@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBTJ6487031082; Sat, 29 Dec 2012 19:06:04 GMT (envelope-from gshapiro@svn.freebsd.org) Message-Id: <201212291906.qBTJ6487031082@svn.freebsd.org> From: Gregory Neil Shapiro Date: Sat, 29 Dec 2012 19:06:04 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r244827 - stable/9/contrib/sendmail/include/libmilter X-SVN-Group: stable-9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-stable-9@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for only the 9-stable src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 19:06:05 -0000 Author: gshapiro Date: Sat Dec 29 19:06:04 2012 New Revision: 244827 URL: http://svnweb.freebsd.org/changeset/base/244827 Log: MFC: Properly define true/false when defining __bool_true_false_are_defined for filters which pull in mfapi.h before stdbool.h. Issue reported by Petr Rehor, maintainer of amavisd-milter port. Modified: stable/9/contrib/sendmail/include/libmilter/mfapi.h Directory Properties: stable/9/contrib/sendmail/ (props changed) Modified: stable/9/contrib/sendmail/include/libmilter/mfapi.h ============================================================================== --- stable/9/contrib/sendmail/include/libmilter/mfapi.h Sat Dec 29 18:40:47 2012 (r244826) +++ stable/9/contrib/sendmail/include/libmilter/mfapi.h Sat Dec 29 19:06:04 2012 (r244827) @@ -96,6 +96,8 @@ typedef int sfsistat; # ifndef bool # ifndef __bool_true_false_are_defined typedef int bool; +# define false 0 +# define true 1 # define __bool_true_false_are_defined 1 # endif /* ! __bool_true_false_are_defined */ # endif /* bool */