diff options
Diffstat (limited to 'probalizer.c')
-rw-r--r-- | probalizer.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/probalizer.c b/probalizer.c index 073314e..e529d41 100644 --- a/probalizer.c +++ b/probalizer.c @@ -43,8 +43,11 @@ #include "probalizer.h" #ifdef _WIN32 -#include <io.h> -#else +# include <io.h> +# define random rand +#endif + +#ifndef _MSC_VER /* only MSVC doesn't have unistd.h */ #include <unistd.h> #endif |