diff --git a/display/win32.c b/display/win32.c index 45c5e453..3eb26802 100644 --- a/display/win32.c +++ b/display/win32.c @@ -278,7 +278,7 @@ ws_init2(void) { } #ifdef THREADS -static volatile init_done; +static volatile int init_done; static DWORD msgthread_id; static DWORD WINAPI diff --git a/makefile b/makefile index a27f63a4..be69d984 100644 --- a/makefile +++ b/makefile @@ -729,7 +729,7 @@ ifeq ($(WIN32),) DISPLAY_OPT = endif else - DISPLAYL = ${DISPLAYD}/display.c $(DISPLAYD)/w32.c + DISPLAYL = ${DISPLAYD}/display.c $(DISPLAYD)/win32.c DISPLAY_OPT = -DUSE_DISPLAY endif