#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
#include <sys/wait.h>
+ #include <sys/time.h>
+ #include <sys/resource.h>
#include <unistd.h>
#ifdef USE_READLINE
#else
#include <conio.h> //allows unbuffered screen capture from stdin
#include <direct.h> //get cwd
+ #include <windows.h>
+ #include <psapi.h>
+
#endif
using namespace std;