mirror of https://code.videolan.org/videolan/vlc
core: explicitly include windows.h when needed
This commit is contained in:
parent
a8de50c3d3
commit
8b986b263d
|
@ -30,6 +30,9 @@
|
|||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef _WIN32
|
||||
# include <windows.h>
|
||||
#endif
|
||||
|
||||
#include <vlc_common.h>
|
||||
#include <vlc_atomic.h>
|
||||
|
|
|
@ -51,6 +51,7 @@
|
|||
#include <gcrypt.h>
|
||||
#include <vlc_gcrypt.h>
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <shellapi.h>
|
||||
#endif
|
||||
#include "update.h"
|
||||
|
|
|
@ -25,6 +25,7 @@
|
|||
#include <vlc_common.h>
|
||||
#include <vlc_rand.h>
|
||||
|
||||
#include <windows.h>
|
||||
#include <bcrypt.h>
|
||||
|
||||
void vlc_rand_bytes (void *buf, size_t len)
|
||||
|
|
Loading…
Reference in New Issue