missing header for unix

This commit is contained in:
Ken Martin 2004-05-07 11:24:32 -04:00
parent 840339e2ed
commit c1d9c2ce9c
1 changed files with 5 additions and 0 deletions

View File

@ -35,6 +35,11 @@
#include <math.h>
#include <float.h>
// needed for sleep
#if !defined(_WIN32)
# include <unistd.h>
#endif
#include <memory> // auto_ptr
#define SAFEDIV(x,y) (((y)!=0)?((x)/(y)):(0))