Add missing includes, GCC 6.3 errored out master
authorAlexander Barton <alex@barton.de>
Tue, 7 Nov 2017 21:52:18 +0000 (22:52 +0100)
committerAlexander Barton <alex@barton.de>
Tue, 7 Nov 2017 21:52:18 +0000 (22:52 +0100)
aclock-unix-aalib.c
aclock-unix-termcap.c

index 8e737a471e73fb9fafc01a9d2a6fe46344177a06..bf2f491b7dc904188cd8d25b35c8e8cb65cbca07 100644 (file)
@@ -8,6 +8,7 @@
  *
  */
 
+#include <stdlib.h>
 #include <unistd.h>
 #include <math.h>
 #include <time.h>
index 8a66341bbb70a902fd33c128c0459e5bb7b4afec..2a47fdc9b3e764fcec264dfd725c8376ff40675d 100644 (file)
@@ -15,6 +15,8 @@
 #include <termcap.h>
 #include <math.h>
 #include <time.h>
+#include <unistd.h>
+#include <sys/ioctl.h>
 
 #ifndef M_PI
 #define M_PI 3.14159265358979323846