Fix isatty being undefined.
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"