diff options
author | Marius Strobl <marius@FreeBSD.org> | 2013-07-26 14:22:03 +0000 |
---|---|---|
committer | Marius Strobl <marius@FreeBSD.org> | 2013-07-26 14:22:03 +0000 |
commit | 2e17284732170005a2d584726143d31d6fabef95 (patch) | |
tree | 73c3e43050fc4ed6c657c657d4249b30838a9c09 | |
parent | 7dda4bda6bc67297f58c519a99fe36512f7b141a (diff) | |
download | src-2e17284732170005a2d584726143d31d6fabef95.tar.gz src-2e17284732170005a2d584726143d31d6fabef95.zip |
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
Notes
Notes:
svn path=/head/; revision=253675
-rw-r--r-- | usr.sbin/makefs/ffs/ufs_bswap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/makefs/ffs/ufs_bswap.h b/usr.sbin/makefs/ffs/ufs_bswap.h index c3682556bdf4..6e7cc422cab1 100644 --- a/usr.sbin/makefs/ffs/ufs_bswap.h +++ b/usr.sbin/makefs/ffs/ufs_bswap.h @@ -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) |