File noteedit-2.8.1-header_protectors.patch of Package noteedit

Index: noteedit/staffPropFrm.h
===================================================================
--- noteedit/staffPropFrm.h.orig
+++ noteedit/staffPropFrm.h
@@ -1,3 +1,5 @@
+#ifndef STAFFPROPS_H
+#define STAFFPROPS_H
 #include "staffProps.h"
 
 class NMainFrameWidget;
@@ -35,3 +37,4 @@
 	int *values_;
 	int currentStaffNr_;
 };
+#endif
Index: noteedit/musicxmlcommon.h
===================================================================
--- noteedit/musicxmlcommon.h.orig
+++ noteedit/musicxmlcommon.h
@@ -23,6 +23,7 @@
 #include "config.h"
 #endif
 #ifndef MUSICXMLCOMMON_H
+#define MUSICXMLCOMMON_H
 
 // link MusicXML chord kind to step values
 
Index: noteedit/musicxmlimport.h
===================================================================
--- noteedit/musicxmlimport.h.orig
+++ noteedit/musicxmlimport.h
@@ -23,6 +23,7 @@
 #include "config.h"
 #endif
 #ifndef MUSICXMLIMPORT_H
+#define MUSICXMLIMPORT_H
 
 #include <qmap.h>
 #include <qptrlist.h>
openSUSE Build Service is sponsored by