Commit d485261e9277a4f9a327243f5ca9f8b946218883

Con Kolivas 2012-01-24T20:26:33

Fix broken non-win32 build with bitforce enabled.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/bitforce.c b/bitforce.c
index 63b7c89..790e000 100644
--- a/bitforce.c
+++ b/bitforce.c
@@ -15,6 +15,8 @@
 #include <dirent.h>
 #ifndef WIN32
 #include <termios.h>
+#include <sys/stat.h>
+#include <fcntl.h>
 #else
 #include <windows.h>
 #include <io.h>