[vlc-commits] vlc_atomic: add missing include for MSVC.
Felix Abecassis
git at videolan.org
Fri Jan 3 12:51:02 CET 2014
vlc | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Fri Jan 3 12:46:03 2014 +0100| [5ff29f804f88b805c0862032832be7fc1a5d02d6] | committer: Jean-Baptiste Kempf
vlc_atomic: add missing include for MSVC.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5ff29f804f88b805c0862032832be7fc1a5d02d6
---
include/vlc_atomic.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/vlc_atomic.h b/include/vlc_atomic.h
index 8420a7e..037c639 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.
More information about the vlc-commits
mailing list