tighten up compat include paths, fix glibc compatibility

This commit is contained in:
Brent Cook
2015-07-21 12:04:07 -06:00
parent 5d8a1cf715
commit cbdc8ca820
4 changed files with 10 additions and 16 deletions

View File

@@ -3,18 +3,16 @@
* Public domain
*/
#ifndef LIBCRYPTOCOMPAT_STDLIB_H
#define LIBCRYPTOCOMPAT_STDLIB_H
#ifdef _MSC_VER
#include <../include/stdlib.h>
#else
#include_next <stdlib.h>
#endif
#ifndef LIBCRYPTOCOMPAT_STDLIB_H
#define LIBCRYPTOCOMPAT_STDLIB_H
#include <sys/types.h>
#include <sys/stat.h>
//#include <sys/time.h>
#include <stdint.h>
#ifndef HAVE_ARC4RANDOM_BUF