From owner-svn-src-head@FreeBSD.ORG Fri Jul 26 14:22:03 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B27AE342; Fri, 26 Jul 2013 14:22:03 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9FF6C2DCB; Fri, 26 Jul 2013 14:22:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6QEM3Vs056755; Fri, 26 Jul 2013 14:22:03 GMT (envelope-from marius@svn.freebsd.org) Received: (from marius@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6QEM3dp056754; Fri, 26 Jul 2013 14:22:03 GMT (envelope-from marius@svn.freebsd.org) Message-Id: <201307261422.r6QEM3dp056754@svn.freebsd.org> From: Marius Strobl Date: Fri, 26 Jul 2013 14:22:03 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253675 - head/usr.sbin/makefs/ffs X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jul 2013 14:22:03 -0000 Author: marius Date: Fri Jul 26 14:22:03 2013 New Revision: 253675 URL: http://svnweb.freebsd.org/changeset/base/253675 Log: Ensure that makefs.h is included when using ufs_bswap.h so the FFS_EI macro is picked up when defined. Previously, ffs_subr.c was always built without support for opposite endianess as it doesn't include makefs.h on its own. MFC after: 3 days Modified: head/usr.sbin/makefs/ffs/ufs_bswap.h Modified: head/usr.sbin/makefs/ffs/ufs_bswap.h ============================================================================== --- head/usr.sbin/makefs/ffs/ufs_bswap.h Fri Jul 26 11:39:29 2013 (r253674) +++ head/usr.sbin/makefs/ffs/ufs_bswap.h Fri Jul 26 14:22:03 2013 (r253675) @@ -40,6 +40,8 @@ #include +#include "makefs.h" + /* Macros to access UFS flags */ #ifdef FFS_EI #define UFS_MPNEEDSWAP(mp) (VFSTOUFS(mp)->um_flags & UFS_NEEDSWAP)