summaryrefslogtreecommitdiff
path: root/crypto-search.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'crypto-search.cpp')
-rw-r--r--crypto-search.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto-search.cpp b/crypto-search.cpp
index d08efc2..bd6cf4c 100644
--- a/crypto-search.cpp
+++ b/crypto-search.cpp
@@ -19,9 +19,13 @@
#include <stdio.h>
#include <stdlib.h>
+#ifdef __linux__
#include <values.h>
+#else
+#define MAXINT INT_MAX
+#define MININT INT_MIN
+#endif
#include <string.h>
-#include <unistd.h>
#include "generic.h"
#include "Input.h"
#include "Main.h"