diff options
author | seb <seb@pkgsrc.org> | 2011-07-27 15:31:00 +0000 |
---|---|---|
committer | seb <seb@pkgsrc.org> | 2011-07-27 15:31:00 +0000 |
commit | e0311c143743749f873ccae5cb35d0f925b91579 (patch) | |
tree | 04c7089651b3fa1128415dacce6832a9cb281329 /pkgtools/mtree/files | |
parent | 6eb65804c8c6729b4dd9fd66082d4dbf4211e854 (diff) | |
download | pkgsrc-e0311c143743749f873ccae5cb35d0f925b91579.tar.gz |
Fix build on (RH)EL 5 and 6, and possibly others.
Don't assume something if HAVE_NBTOOL_CONFIG_H is not defined, in
pkgsrc case we HAVE_CONFIG_H to sort things out.
Diffstat (limited to 'pkgtools/mtree/files')
-rw-r--r-- | pkgtools/mtree/files/extern.h | 4 | ||||
-rw-r--r-- | pkgtools/mtree/files/stat_flags.c | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/pkgtools/mtree/files/extern.h b/pkgtools/mtree/files/extern.h index 3e3bb583fce..c93cbaa8cc1 100644 --- a/pkgtools/mtree/files/extern.h +++ b/pkgtools/mtree/files/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.4 2010/03/21 16:30:17 joerg Exp $ */ +/* $NetBSD: extern.h,v 1.5 2011/07/27 15:31:00 seb Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -36,11 +36,13 @@ #endif #include "mtree.h" +#if 0 #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #else #define HAVE_STRUCT_STAT_ST_FLAGS 1 #endif +#endif #include <nbcompat.h> #if HAVE_ERR_H diff --git a/pkgtools/mtree/files/stat_flags.c b/pkgtools/mtree/files/stat_flags.c index f036745f9c3..0ef284a4c74 100644 --- a/pkgtools/mtree/files/stat_flags.c +++ b/pkgtools/mtree/files/stat_flags.c @@ -1,4 +1,4 @@ -/* $NetBSD: stat_flags.c,v 1.4 2008/11/06 02:14:52 jschauma Exp $ */ +/* $NetBSD: stat_flags.c,v 1.5 2011/07/27 15:31:00 seb Exp $ */ /*- * Copyright (c) 1993 @@ -32,11 +32,13 @@ #if HAVE_CONFIG_H #include "config.h" #endif +#if 0 #if HAVE_NBTOOL_CONFIG_H #include "nbtool_config.h" #else #define HAVE_STRUCT_STAT_ST_FLAGS 1 #endif +#endif #include <nbcompat.h> #if HAVE_SYS_CDEFS_H @@ -46,7 +48,7 @@ #if 0 static char sccsid[] = "@(#)stat_flags.c 8.2 (Berkeley) 7/28/94"; #else -__RCSID("$NetBSD: stat_flags.c,v 1.4 2008/11/06 02:14:52 jschauma Exp $"); +__RCSID("$NetBSD: stat_flags.c,v 1.5 2011/07/27 15:31:00 seb Exp $"); #endif #endif /* not lint */ |