summaryrefslogtreecommitdiff
path: root/include/rtdef.h
diff options
context:
space:
mode:
authorheyuanjie <xx>2018-07-31 10:38:26 +0800
committerheyuanjie <xx>2018-07-31 10:38:26 +0800
commit2373a9c7beaf52cb65630e32b080ef293504f6b5 (patch)
treeb1fd55c0615581ebf47f7817c2dd0ee03da8cab7 /include/rtdef.h
parentc79fbd373fc8b300cb2f4564aa934a4e93b81547 (diff)
添加lwp类型声明
Diffstat (limited to 'include/rtdef.h')
-rw-r--r--include/rtdef.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index 7e7e63594f..f8d90ceadb 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -496,6 +496,10 @@ typedef siginfo_t rt_siginfo_t;
#define RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 /**< Change thread priority. */
#define RT_THREAD_CTRL_INFO 0x03 /**< Get thread information. */
+#ifdef RT_USING_LWP
+struct rt_lwp;
+#endif
+
/**
* Thread structure
*/