Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2013 10:24:10 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r253798 - stable/9/usr.sbin/makefs/ffs
Message-ID:  <201307301024.r6UAOAAZ073353@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Tue Jul 30 10:24:09 2013
New Revision: 253798
URL: http://svnweb.freebsd.org/changeset/base/253798

Log:
  MFC: r253675
  
  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.
  
  Approved by:	re (kib)

Modified:
  stable/9/usr.sbin/makefs/ffs/ufs_bswap.h
Directory Properties:
  stable/9/usr.sbin/makefs/   (props changed)

Modified: stable/9/usr.sbin/makefs/ffs/ufs_bswap.h
==============================================================================
--- stable/9/usr.sbin/makefs/ffs/ufs_bswap.h	Tue Jul 30 10:22:08 2013	(r253797)
+++ stable/9/usr.sbin/makefs/ffs/ufs_bswap.h	Tue Jul 30 10:24:09 2013	(r253798)
@@ -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?201307301024.r6UAOAAZ073353>