summaryrefslogtreecommitdiff
path: root/dev-scheme/stklos/files/stklos-2.00-threads.patch
blob: 0a32bc5de7d86c5c5dbcc1a0828ec2fe47a82ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/src/stklos.h
+++ b/src/stklos.h
@@ -46,15 +46,15 @@
 #include <memory.h>
 #include <locale.h>
 #include <stdint.h>
-#ifndef THEADS_NONE
+
+#include "stklosconf.h"
+#include "extraconf.h"
+#ifndef THREADS_NONE
 #  include <pthread.h>
 #  define GC_THREADS 1
 #  define _REENTRANT 1
 #endif
 
-#include "stklosconf.h"
-#include "extraconf.h"
-
 /* To debug the GC uncomment the following line */
 /* #define GC_DEBUG 1 */