Subject: CVS commit: src/sbin/scan_ffs
To: None <source-changes@NetBSD.org>
From: Havard Eidnes <firstname.lastname@example.org>
Date: 08/09/2005 12:59:29
Module Name: src
Committed By: he
Date: Tue Aug 9 12:59:29 UTC 2005
Undefine the 17 macros commonly defined by <ufs/ffs/fs.h> and
<ufs/lfs/lfs.h> before including the second of them, and also after
including the second, to ensure the rest of the code doesn't depend
on their (ambigious) definition.
This fixes a build problem for vax; gcc 2.95.3's preprocessor
apparently doesn't like redefinition of macros.
Discussed with xtraeme.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 src/sbin/scan_ffs/scan_ffs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.