openjdk-17: include stdbool.h

This commit is contained in:
Leonid Pliushch 2021-07-30 13:29:54 +03:00
parent 0d5011e34a
commit 23b82b8e3b
No known key found for this signature in database
GPG Key ID: 45F2964132545795

View File

@ -1,6 +1,15 @@
diff -uNr mobile-ec285598849a27f681ea6269342cf03cf382eb56/src/java.base/share/native/libjli/java.c mobile-ec285598849a27f681ea6269342cf03cf382eb56.mod/src/java.base/share/native/libjli/java.c
--- mobile-ec285598849a27f681ea6269342cf03cf382eb56/src/java.base/share/native/libjli/java.c 2021-07-06 14:29:24.000000000 +0300
+++ mobile-ec285598849a27f681ea6269342cf03cf382eb56.mod/src/java.base/share/native/libjli/java.c 2021-07-30 12:32:44.290950873 +0300
+++ mobile-ec285598849a27f681ea6269342cf03cf382eb56.mod/src/java.base/share/native/libjli/java.c 2021-07-30 13:28:40.900486911 +0300
@@ -50,7 +50,7 @@
* the CreateExecutionEnviroment will remove the -d<n> flags.
*/
-
+#include <stdbool.h>
#include "java.h"
#include "jni.h"
@@ -219,6 +219,10 @@
#define STACK_SIZE_MINIMUM (64 * KB)
#endif