File scite-fix-missing-include.patch of Package scite

Index: scite-5.3.6/scintilla/include/Scintilla.h
===================================================================
--- scite-5.3.6.orig/scintilla/include/Scintilla.h
+++ scite-5.3.6/scintilla/include/Scintilla.h
@@ -27,6 +27,7 @@ int Scintilla_ReleaseResources(void);
 
 // Include header that defines basic numeric types.
 #include <stdint.h>
+#include <cstdint>
 
 // Define uptr_t, an unsigned integer type large enough to hold a pointer.
 typedef uintptr_t uptr_t;
Index: scite-5.3.6/scintilla/include/ScintillaCall.h
===================================================================
--- scite-5.3.6.orig/scintilla/include/ScintillaCall.h
+++ scite-5.3.6/scintilla/include/ScintillaCall.h
@@ -8,6 +8,8 @@
 /* Most of this file is automatically generated from the Scintilla.iface interface definition
  * file which contains any comments about the definitions. APIFacer.py does the generation. */
 
+#include <cstdint>
+
 #ifndef SCINTILLACALL_H
 #define SCINTILLACALL_H
 
Index: scite-5.3.6/scintilla/include/ScintillaTypes.h
===================================================================
--- scite-5.3.6.orig/scintilla/include/ScintillaTypes.h
+++ scite-5.3.6/scintilla/include/ScintillaTypes.h
@@ -8,6 +8,8 @@
 /* Most of this file is automatically generated from the Scintilla.iface interface definition
  * file which contains any comments about the definitions. ScintillaAPIFacer.py does the generation. */
 
+#include <cstdint>
+
 #ifndef SCINTILLATYPES_H
 #define SCINTILLATYPES_H
 
Index: scite-5.3.6/scite/src/Extender.h
===================================================================
--- scite-5.3.6.orig/scite/src/Extender.h
+++ scite-5.3.6/scite/src/Extender.h
@@ -7,6 +7,7 @@
 
 #ifndef EXTENDER_H
 #define EXTENDER_H
+#include <cstdint>
 
 class StyleWriter;
 
Index: scite-5.3.6/scite/src/SciTEProps.cxx
===================================================================
--- scite-5.3.6.orig/scite/src/SciTEProps.cxx
+++ scite-5.3.6/scite/src/SciTEProps.cxx
@@ -69,6 +69,7 @@ const GUI::gui_char menuAccessIndicator[
 #include "Searcher.h"
 #include "SciTEBase.h"
 #include "IFaceTable.h"
+#include <stdexcept>
 
 void SciTEBase::SetImportMenu() {
 	for (int i = 0; i < importMax; i++) {
Index: scite-5.3.6/scite/src/SciTEBase.cxx
===================================================================
--- scite-5.3.6.orig/scite/src/SciTEBase.cxx
+++ scite-5.3.6/scite/src/SciTEBase.cxx
@@ -19,6 +19,7 @@
 #include <tuple>
 #include <string>
 #include <string_view>
+#include <iostream>
 #include <vector>
 #include <map>
 #include <set>
openSUSE Build Service is sponsored by