Commit 075ff6bf7a35ccb43d6b0d5c91426212c7503407

Con Kolivas 2012-01-28T16:14:54

Merge branch 'master' into reorder

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/bitforce.c b/bitforce.c
index 790e000..b041aea 100644
--- a/bitforce.c
+++ b/bitforce.c
@@ -17,6 +17,9 @@
 #include <termios.h>
 #include <sys/stat.h>
 #include <fcntl.h>
+#ifndef O_CLOEXEC
+#define O_CLOEXEC 0
+#endif
 #else
 #include <windows.h>
 #include <io.h>