Fix includes for OSX and BSD

This commit is contained in:
Simon Robertshaw 2012-04-27 13:51:42 +01:00
parent ffee9df8e6
commit a75da2c4c3
2 changed files with 6 additions and 2 deletions

View File

@ -23,8 +23,10 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#if !defined(MACOSX) && !defined(BSD)
#ifndef WIN32
#include <sys/param.h>
#endif
#if !defined(MACOSX) && !defined(BSD)
#include <malloc.h>
#endif
#include <time.h>

View File

@ -21,8 +21,10 @@
#include <stdio.h>
#include <stdlib.h>
#if !defined(MACOSX) && !defined(BSD)
#ifndef WIN32
#include <sys/param.h>
#endif
#if !defined(MACOSX) && !defined(BSD)
#include <malloc.h>
#endif
#include <string.h>