Index: include/cygwin/cygwin_dll.h =================================================================== RCS file: /cvs/src/src/winsup/cygwin/include/cygwin/cygwin_dll.h,v retrieving revision 1.8 diff -u -p -r1.8 cygwin_dll.h --- include/cygwin/cygwin_dll.h 11 Sep 2001 20:01:01 -0000 1.8 +++ include/cygwin/cygwin_dll.h 11 Nov 2002 15:23:39 -0000 @@ -12,6 +12,7 @@ details. */ #define __CYGWIN_CYGWIN_DLL_H__ #include +#include "winsup.h" #ifdef __cplusplus #define CDECL_BEGIN extern "C" { @@ -39,7 +40,7 @@ static int __dllMain (int a, char **b, c return Entry (storedHandle, storedReason, storedPtr); \ } \ \ -static DWORD dll_index; \ +static NO_COPY DWORD dll_index; \ \ int WINAPI _cygwin_dll_entry (HINSTANCE h, DWORD reason, void *ptr) \ { \