#include <cerrno>
#include <ctime>
#include <limits>
-#include <sys/wait.h>
-#include <unistd.h>
+
+
+#if defined (__APPLE__) || (__MACH__) || (linux) || (__linux)
+ #include <sys/wait.h>
+ #include <unistd.h>
+#endif
using namespace std;
char c = fileHandle.get();
//are you at the end of the line
- if (c == 10 || c == 13){ break; }
+ if ((c == '\n') || (c == '\r') || (c == '\f')){ break; }
else { line += c; }
}