diff --git a/windows/win.c b/windows/win.c index c5d910d212d..e2e292ae9f9 100644 --- a/windows/win.c +++ b/windows/win.c @@ -1689,6 +1689,7 @@ HWND WINAPI GetDesktopWindow(void) if (pWndDesktop) return pWndDesktop->hwndSelf; ERR_(win)( "You need the -desktop option when running with native USER\n" ); ExitProcess(1); + return 0; } diff --git a/windows/x11drv/wineclipsrv.c b/windows/x11drv/wineclipsrv.c index 97ff7a71b59..8285ae9e586 100644 --- a/windows/x11drv/wineclipsrv.c +++ b/windows/x11drv/wineclipsrv.c @@ -189,7 +189,7 @@ void TextOut(Window win, GC gc, char *pStr); void getGC(Window win, GC *gc); -void main(int argc, char **argv) +int main(int argc, char **argv) { XEvent event;