about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--ministat.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore
index 96f5216..5a05022 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,5 @@
 ministat
 *.o
 *.core
+chameleon
+iguana
diff --git a/ministat.c b/ministat.c
index 4fdd12e..873632a 100644
--- a/ministat.c
+++ b/ministat.c
@@ -7,6 +7,8 @@
  * ----------------------------------------------------------------------------
  *
  */
+#include <sys/ioctl.h>
+
 #include <err.h>
 #include <math.h>
 #include <stdio.h>
@@ -16,10 +18,6 @@
 
 #include "queue.h"
 
-#include <asm-generic/ioctls.h>
-#include <asm-generic/termios.h>
-#include <stropts.h>
-
 #define NSTUDENT 100
 #define NCONF 6
 double const studentpct[] = { 80, 90, 95, 98, 99, 99.5 };