summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2011-12-18 20:09:41 -0800
committerJoern Engel <joern@logfs.org>2011-12-18 20:09:41 -0800
commitb5fc253242284a247ad81ee05cc66e077e0291b6 (patch)
tree1074783c93ad113d0a127639b954df116827d0a1
parent673a435a06b44d5430ad6191e90b8226ecc37702 (diff)
downloadcancd-b5fc253242284a247ad81ee05cc66e077e0291b6.tar.gz
Compile fix: add <limits.h>
And sort the includes, while at it. Signed-off-by: Joern Engel <joern@logfs.org>
-rw-r--r--cancd.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/cancd.c b/cancd.c
index 27bf435..d1fa9b2 100644
--- a/cancd.c
+++ b/cancd.c
@@ -22,23 +22,24 @@
* Boston, MA 021110-1307, USA.
*/
+#include <arpa/inet.h>
+#include <errno.h>
+#include <fcntl.h>
+#include <getopt.h>
+#include <libgen.h>
+#include <limits.h>
+#include <netinet/in.h>
+#include <signal.h>
+#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <fcntl.h>
-#include <unistd.h>
-#include <errno.h>
-#include <time.h>
-#include <signal.h>
#include <syslog.h>
-#include <libgen.h>
-#include <getopt.h>
-#include <stdarg.h>
#include <sys/socket.h>
-#include <arpa/inet.h>
-#include <netinet/in.h>
+#include <sys/stat.h>
+#include <sys/types.h>
+#include <time.h>
+#include <unistd.h>
#include "kernel-list.h"