# HG changeset patch # User Sam Lantinga # Date 1260682626 0 # Node ID 3889325ca9870f054707261f6ab5a3331a78a3ec # Parent 4a39f28cd9355785879e63b15aef8fb57ca8e017 Fixed windows.h include diff -r 4a39f28cd935 -r 3889325ca987 src/atomic/win32/SDL_atomic.c --- a/src/atomic/win32/SDL_atomic.c Sat Dec 12 20:31:28 2009 +0000 +++ b/src/atomic/win32/SDL_atomic.c Sun Dec 13 05:37:06 2009 +0000 @@ -25,8 +25,10 @@ #include "SDL_stdinc.h" #include "SDL_atomic.h" +#define WIN32_LEAN_AND_MEAN +#include + #include "SDL_error.h" -#include "Windows.h" /* This file provides 32, and 64 bit atomic operations. If the