missing header for unix
This commit is contained in:
parent
840339e2ed
commit
c1d9c2ce9c
|
@ -35,6 +35,11 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
|
|
||||||
|
// needed for sleep
|
||||||
|
#if !defined(_WIN32)
|
||||||
|
# include <unistd.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <memory> // auto_ptr
|
#include <memory> // auto_ptr
|
||||||
|
|
||||||
#define SAFEDIV(x,y) (((y)!=0)?((x)/(y)):(0))
|
#define SAFEDIV(x,y) (((y)!=0)?((x)/(y)):(0))
|
||||||
|
|
Loading…
Reference in New Issue