conga/ricci/modules/storage FSController.cpp
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL5
Changes by: rmccabe at sourceware.org 2007-08-08 21:58:58
Modified files:
ricci/modules/storage: FSController.cpp
Log message:
brew still has an old version of libgroup.h
ricci/modules/storage/FSController.cpp +5 -0
@@ -28,7 +28,10 @@ #include "UnsupportedFS.h" #include "utils.h" #include <errno.h> + +#ifdef MY_BUILD_SYSTEM_IS_NOT_BROKEN #include <libgroup.h> +#endif using namespace std;
@@ -36,6 +39,7 @@ FSController::get_fs_group_ids(const String& name) { list<String> members; +#ifdef MY_BUILD_SYSTEM_IS_NOT_BROKEN group_data_t fsgroup; if (group_get_group(2, name.c_str(), &fsgroup) != 0)
@@ -51,6 +55,7 @@ throw String("invalid node id"); members.push_back(String(buf)); } +#endif return members; }