File pdsh-exclude-slurm-list-namespace.patch of Package pdsh

Index: pdsh-2.33/src/common/list.h
===================================================================
--- pdsh-2.33.orig/src/common/list.h
+++ pdsh-2.33/src/common/list.h
@@ -28,6 +28,8 @@
 #ifndef LSD_LIST_H
 #define LSD_LIST_H
 
+#ifndef __list_datatypes_defined
+#  define __list_datatypes_defined
 
 /***********
  *  Notes  *
@@ -91,6 +93,7 @@ typedef int (*ListForF) (void *x, void *
  *  Returns less-than-zero on error.
  */
 
+#endif /* !__list_datatypes_defined */
 
 /*******************************
  *  General-Purpose Functions  *
openSUSE Build Service is sponsored by