Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2013 14:22:03 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r253675 - head/usr.sbin/makefs/ffs
Message-ID:  <201307261422.r6QEM3dp056754@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <sys/endian.h>
 
+#include "makefs.h"
+
 /* Macros to access UFS flags */
 #ifdef FFS_EI
 #define	UFS_MPNEEDSWAP(mp)	(VFSTOUFS(mp)->um_flags & UFS_NEEDSWAP)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307261422.r6QEM3dp056754>