Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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)
  • Loading branch information...
commit b8b31de4881cfce399701e3fd5d178ba80eed1e4 1 parent add953f
marius authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  usr.sbin/makefs/ffs/ufs_bswap.h
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.