From aeb5b0221c9ca9cbe7678b4b68c5c00892bb3dfd Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 16 Sep 2001 20:16:57 +0000 Subject: 2001-09-16 Roland McGrath * std.c (store_std_classes): Only include store_part_class if [HAVE_PARTED_PARTED_H]. --- libstore/std.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'libstore/std.c') diff --git a/libstore/std.c b/libstore/std.c index d2230c9d..1b32229f 100644 --- a/libstore/std.c +++ b/libstore/std.c @@ -1,7 +1,7 @@ /* List of standard store classes - Copyright (C) 1996, 1997 Free Software Foundation, Inc. - Written by Miles Bader + Copyright (C) 1996,97,2001 Free Software Foundation, Inc. + Written by Miles Bader This file is part of the GNU Hurd. The GNU Hurd is free software; you can redistribute it and/or @@ -21,13 +21,16 @@ #include "store.h" const struct store_class *const -store_std_classes[] = +store_std_classes[] = { - &store_device_class, &store_part_class, &store_file_class, + &store_device_class, +#if HAVE_PARTED_PARTED_H + &store_part_class, +#endif + &store_file_class, &store_zero_class, &store_task_class, &store_ileave_class, &store_concat_class, &store_remap_class, &store_query_class, &store_copy_class, &store_gunzip_class, &store_bunzip2_class, &store_typed_open_class, 0 }; - -- cgit v1.2.3