svn commit: r253798 - stable/9/usr.sbin/makefs/ffs

Marius Strobl marius at FreeBSD.org
Tue Jul 30 10:24:10 UTC 2013


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)


More information about the svn-src-all mailing list