]> pd.if.org Git - nbds/blobdiff - runtime/rlocal.h
fix compiler warnings/error under gcc 4.1 and 4.2
[nbds] / runtime / rlocal.h
index 4828c6eead11e6c23fd9f2eabbb6182dc9f8b208..bb62c76e260b98cf3b43b7a9834cfe69b12a653a 100644 (file)
@@ -1,10 +1,12 @@
 #ifndef RLOCAL_H
 #define RLOCAL_H
+
+#include "runtime.h"
 #include "tls.h"
-DECLARE_THREAD_LOCAL(tid_, int);
 
 void mem_init (void);
 
 void rcu_thread_init (int thread_id);
 void lwt_thread_init (int thread_id);
+
 #endif//RLOCAL_H