summaryrefslogtreecommitdiff
path: root/libstore
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-09-16 20:16:57 +0000
committerRoland McGrath <roland@gnu.org>2001-09-16 20:16:57 +0000
commitaeb5b0221c9ca9cbe7678b4b68c5c00892bb3dfd (patch)
treea85c9639e1e2491177527fe8cd6d2f73e0d83f09 /libstore
parentc33495ca9cf1bb12ac5bc3263458fdf3331c1f89 (diff)
2001-09-16 Roland McGrath <roland@frob.com>
* std.c (store_std_classes): Only include store_part_class if [HAVE_PARTED_PARTED_H].
Diffstat (limited to 'libstore')
-rw-r--r--libstore/std.c13
1 files changed, 8 insertions, 5 deletions
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 <miles@gnu.ai.mit.edu>
+ Copyright (C) 1996,97,2001 Free Software Foundation, Inc.
+ Written by Miles Bader <miles@gnu.org>
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
};
-