From bef67c875c946b941af9751c625086e644690558 Mon Sep 17 00:00:00 2001 From: Thordur Bjornsson Date: Sun, 17 Mar 2013 12:43:06 +0100 Subject: Fix build on OSX 10.8.2 (Mountain Lion). Verified to build on CentOS 5.5/6.3, Ubuntu 12.10, Bitrig 0.1 and OpenBSD 5.3 --- .gitignore | 2 ++ ministat.c | 6 ++---- 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 + #include #include #include @@ -16,10 +18,6 @@ #include "queue.h" -#include -#include -#include - #define NSTUDENT 100 #define NCONF 6 double const studentpct[] = { 80, 90, 95, 98, 99, 99.5 }; -- cgit 1.4.1