vlc_atomic: add missing include for MSVC.
authorFelix Abecassis <felix.abecassis@gmail.com>
Fri, 3 Jan 2014 11:46:03 +0000 (12:46 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 3 Jan 2014 11:49:01 +0000 (12:49 +0100)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
include/vlc_atomic.h

index 8420a7e..037c639 100644 (file)
@@ -304,6 +304,8 @@ typedef         uintmax_t atomic_uintmax_t;
 
 # elif defined (_MSC_VER)
 
+# include <windows.h>
+
 /*** Use the Interlocked API. ***/
 
 /* Define macros in order to dispatch to the correct function depending on the type.