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
This commit is contained in:
Marius Strobl 2013-07-26 14:22:03 +00:00
parent 7dda4bda6b
commit 2e17284732
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253675

View File

@ -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)