projects/aports·blob master · refs

45 lines · 961 B

1--- a/src/low_main.cpp
2+++ b/src/low_main.cpp
3@@ -78,9 +78,9 @@
4 low->in_gc = false;
5 low->disallow_native = false;
6
7- low->web_thread = NULL;
8+ low->web_thread = 0;
9 for(int i = 0; i < LOW_NUM_DATA_THREADS; i++)
10- low->data_thread[i] = NULL;
11+ low->data_thread[i] = 0;
12
13 low->destroying = false;
14 low->duk_flag_stop = 0;
15--- a/src/LowHTTPDirect.h
16+++ b/src/LowHTTPDirect.h
17@@ -8,6 +8,7 @@
18 #include "LowLoopCallback.h"
19 #include "LowSocketDirect.h"
20
21+#include <ctype.h>
22 #include <pthread.h>
23
24 #include "low_config.h"
25--- a/src/low_crypto.h
26+++ b/src/low_crypto.h
27@@ -5,6 +5,7 @@
28 #ifndef __LOW_CRYPTO_H__
29 #define __LOW_CRYPTO_H__
30
31+#include <ctype.h>
32 #include "duktape.h"
33
34 duk_ret_t low_crypto_create_hash(duk_context *ctx);
35--- a/src/low_opcua.h
36+++ b/src/low_opcua.h
37@@ -7,6 +7,7 @@
38 #define __LOW_OPCUA_H__
39
40 #include "duktape.h"
41+#include <ctype.h>
42
43 #include "low_main.h"
44 #include "LowLoopCallback.h"
45