Commit 1001b6a7 authored by Martin Storsjö's avatar Martin Storsjö

libavutil: x86: Include stdlib.h before using _byteswap_ulong

When clang works in MSVC mode, it does have the _byteswap_ulong
builtin, but one has to include stdlib.h before using it.
Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent 63418e37
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <stdint.h> #include <stdint.h>
#if defined(_MSC_VER) #if defined(_MSC_VER)
#include <stdlib.h>
#include <intrin.h> #include <intrin.h>
#endif #endif
#include "config.h" #include "config.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment