File pacemaker-common-prevention-of-double-definition.patch of Package pacemaker

commit 7e43a5141ab3b14faf0b3fa0590f602da3bb3cc6
Author: Hideo Yamauchi <renayama19661014@ybb.ne.jp>
Date:   Tue Mar 21 20:44:51 2017 +0900

    Low: common: Prevention of the double definition.

diff --git a/include/crm/common/iso8601_internal.h b/include/crm/common/iso8601_internal.h
index 9a195941c..d7ceee8e3 100644
--- a/include/crm/common/iso8601_internal.h
+++ b/include/crm/common/iso8601_internal.h
@@ -16,6 +16,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifndef CRM_COMMON_ISO8601_INTERNAL
+#  define CRM_COMMON_ISO8601_INTERNAL
 #include <time.h>
 #include <sys/time.h>
 #include <ctype.h>
@@ -42,3 +44,4 @@ struct crm_time_us {
     bool duration;
     int useconds;
 };
+#endif
openSUSE Build Service is sponsored by