Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/ufs For makefs, only include <machine/bswap.h> if it...



details:   https://anonhg.NetBSD.org/src/rev/87b97999557f
branches:  trunk
changeset: 521499:87b97999557f
user:      tv <tv%NetBSD.org@localhost>
date:      Thu Jan 31 19:17:02 2002 +0000

description:
For makefs, only include <machine/bswap.h> if it exists.

diffstat:

 sys/ufs/ufs/ufs_bswap.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 1775094e10a1 -r 87b97999557f sys/ufs/ufs/ufs_bswap.h
--- a/sys/ufs/ufs/ufs_bswap.h   Thu Jan 31 19:16:34 2002 +0000
+++ b/sys/ufs/ufs/ufs_bswap.h   Thu Jan 31 19:17:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_bswap.h,v 1.8 2001/07/26 07:55:54 lukem Exp $      */
+/*     $NetBSD: ufs_bswap.h,v 1.9 2002/01/31 19:17:02 tv Exp $ */
 
 /*
  * Copyright (c) 1998 Manuel Bouyer.
@@ -36,7 +36,9 @@
 #include "opt_ffs.h"
 #endif
 
+#if !HAVE_CONFIG_H || HAVE_MACHINE_BSWAP_H
 #include <machine/bswap.h>
+#endif
 
 /* Macros to access UFS flags */
 #ifdef FFS_EI



Home | Main Index | Thread Index | Old Index