1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-20 10:37:24 -07:00

MSVC fixes for randombytes_sysrandom.c

This commit is contained in:
Frank Denis 2013-09-24 14:09:26 -07:00
parent ad49d05a8b
commit 26d108d468

View File

@ -1,19 +1,21 @@
#include <sys/types.h>
#include <sys/time.h>
#ifndef _WIN32
# include <sys/time.h>
#endif
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#ifndef _WIN32
# include <poll.h>
#endif
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#ifndef _WIN32
# include <poll.h>
# include <unistd.h>
#endif
#include "randombytes.h"
#include "randombytes_sysrandom.h"