diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-05-31 19:31:24 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2009-05-31 19:31:24 +0000 |
commit | 015c571fb6e65c138e507e3181db5ccdef7a8643 (patch) | |
tree | 2691829734ea6c9c7b20b0d46a403f555f3e80a1 /usr.bin/fstat/fstat.c | |
parent | 2353e7443f1dfd8a562717064d5f7f64b1cafd09 (diff) |
Don't define NFS before including kernel header files,
besides it being gnarly its useless since no magic is
done if it is define.
pointed out by deraadt@
Diffstat (limited to 'usr.bin/fstat/fstat.c')
-rw-r--r-- | usr.bin/fstat/fstat.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/fstat/fstat.c b/usr.bin/fstat/fstat.c index 76a11446c44..74cc99aacca 100644 --- a/usr.bin/fstat/fstat.c +++ b/usr.bin/fstat/fstat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fstat.c,v 1.62 2008/10/07 02:20:12 deraadt Exp $ */ +/* $OpenBSD: fstat.c,v 1.63 2009/05/31 19:31:23 thib Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -37,7 +37,7 @@ static char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)fstat.c 8.1 (Berkeley) 6/6/93";*/ -static char *rcsid = "$OpenBSD: fstat.c,v 1.62 2008/10/07 02:20:12 deraadt Exp $"; +static char *rcsid = "$OpenBSD: fstat.c,v 1.63 2009/05/31 19:31:23 thib Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -63,12 +63,10 @@ static char *rcsid = "$OpenBSD: fstat.c,v 1.62 2008/10/07 02:20:12 deraadt Exp $ #include <ufs/ufs/quota.h> #include <ufs/ufs/inode.h> #undef _KERNEL -#define NFS #include <nfs/nfsproto.h> #include <nfs/rpcv2.h> #include <nfs/nfs.h> #include <nfs/nfsnode.h> -#undef NFS #include <xfs/xfs_config.h> #include <xfs/xfs_node.h> |