]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ref #35 : add <stdbool.h> to whisper.h
authorGeorgi Gerganov <redacted>
Mon, 10 Oct 2022 05:11:18 +0000 (08:11 +0300)
committerGeorgi Gerganov <redacted>
Mon, 10 Oct 2022 05:11:18 +0000 (08:11 +0300)
"bool" type is not implicitly defined for some compilers.

whisper.h

index f462370a33015e4e883f1a4517b6386b751358e9..381afd71d6e7495d26cf49dc70169cf2bea730e5 100644 (file)
--- a/whisper.h
+++ b/whisper.h
@@ -2,6 +2,7 @@
 #define WHISPER_H
 
 #include <stdint.h>
+#include <stdbool.h>
 
 #ifdef WHISPER_SHARED
 #    ifdef _WIN32