[vlc-devel] [PATCH 1/3] vlc_atomic: add missing include for MSVC.

Felix Abecassis felix.abecassis at gmail.com
Fri Jan 3 12:46:03 CET 2014


---
 include/vlc_atomic.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/vlc_atomic.h b/include/vlc_atomic.h
index 49cc1ae..9627668 100644
--- a/include/vlc_atomic.h
+++ b/include/vlc_atomic.h
@@ -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.
-- 
1.8.3.2




More information about the vlc-devel mailing list