Commit 10d66b2437ad02b979b580afcd11fdadec17d720

Con Kolivas 2011-07-12T19:28:24

Fix isatty being undefined.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/util.c b/util.c
index 5205c34..87e3663 100644
--- a/util.c
+++ b/util.c
@@ -22,6 +22,7 @@
 #include <time.h>
 #include <curses.h>
 #include <errno.h>
+#include <unistd.h>
 #include "miner.h"
 #include "elist.h"