about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2023-03-22 09:48:50 +0100
committerMartinNowack <2443641+MartinNowack@users.noreply.github.com>2023-03-27 15:26:08 +0100
commit89ebbb9de69b4de83e97f068cd2cbcdb7b3d1fb9 (patch)
tree0b02f0d3a80c06040b8a30067080c295090d8d9c /include
parent67ec44723e9ce232f067964e7e9fb26090be305d (diff)
downloadklee-89ebbb9de69b4de83e97f068cd2cbcdb7b3d1fb9.tar.gz
(gcc-13) include cstdint for *int*_t
Otherwise we see errors like this with gcc13:
include/klee/Statistics/Statistic.h:31:10: error: no type named 'uint32_t' in namespace 'std'
Diffstat (limited to 'include')
-rw-r--r--include/klee/Core/Interpreter.h1
-rw-r--r--include/klee/Statistics/Statistic.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/klee/Core/Interpreter.h b/include/klee/Core/Interpreter.h
index f14e3d88..04fdef88 100644
--- a/include/klee/Core/Interpreter.h
+++ b/include/klee/Core/Interpreter.h
@@ -9,6 +9,7 @@
 #ifndef KLEE_INTERPRETER_H
 #define KLEE_INTERPRETER_H
 
+#include <cstdint>
 #include <map>
 #include <memory>
 #include <set>
diff --git a/include/klee/Statistics/Statistic.h b/include/klee/Statistics/Statistic.h
index bbb67116..e675b067 100644
--- a/include/klee/Statistics/Statistic.h
+++ b/include/klee/Statistics/Statistic.h
@@ -10,6 +10,7 @@
 #ifndef KLEE_STATISTIC_H
 #define KLEE_STATISTIC_H
 
+#include <cstdint>
 #include <string>
 
 namespace klee {