File 0001-fix-stdint-errors.patch of Package qbootctl

diff -ur a/bootctrl_impl.cpp b/bootctrl_impl.cpp
--- a/bootctrl_impl.cpp	2023-02-08 21:47:10.078930942 +0100
+++ b/bootctrl_impl.cpp	2023-04-12 12:38:26.842915154 +0200
@@ -30,6 +30,7 @@
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <stdint.h>
 
 #include "utils.h"
 #include "gpt-utils.h"
diff -ur a/gpt-utils.h b/gpt-utils.h
--- a/gpt-utils.h	2023-02-08 21:47:10.078930942 +0100
+++ b/gpt-utils.h	2023-04-12 12:37:15.527297207 +0200
@@ -37,6 +37,7 @@
 #endif
 #include <unistd.h>
 #include <stdlib.h>
+#include <stdint.h>
 
 #define GPT_SIGNATURE		"EFI PART"
 #define HEADER_SIZE_OFFSET	12
diff -ur a/qbootctl.cpp b/qbootctl.cpp
--- a/qbootctl.cpp	2023-02-08 21:47:10.078930942 +0100
+++ b/qbootctl.cpp	2023-05-04 09:06:27.692729827 +0200
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <cstdint>
 
 #include "bootctrl.h"
 
openSUSE Build Service is sponsored by