diff --git a/include/re_thread.h b/include/re_thread.h index 40d79667f..2fc8c455a 100644 --- a/include/re_thread.h +++ b/include/re_thread.h @@ -22,15 +22,15 @@ #else #if defined(WIN32) -struct thrd_win32 { - HANDLE hdl; - DWORD id; -}; - #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include + +struct thrd_win32 { + HANDLE hdl; + DWORD id; +}; #define ONCE_FLAG_INIT INIT_ONCE_STATIC_INIT typedef INIT_ONCE once_flag; typedef struct thrd_win32 thrd_t;