From 2e17284732170005a2d584726143d31d6fabef95 Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Fri, 26 Jul 2013 14:22:03 +0000 Subject: [PATCH] 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 --- usr.sbin/makefs/ffs/ufs_bswap.h | 2 ++ 1 file changed, 2 insertions(+) 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 +#include "makefs.h" + /* Macros to access UFS flags */ #ifdef FFS_EI #define UFS_MPNEEDSWAP(mp) (VFSTOUFS(mp)->um_flags & UFS_NEEDSWAP)