diff options
author | Joern Engel <joern@logfs.org> | 2011-12-18 20:09:41 -0800 |
---|---|---|
committer | Joern Engel <joern@logfs.org> | 2011-12-18 20:09:41 -0800 |
commit | b5fc253242284a247ad81ee05cc66e077e0291b6 (patch) | |
tree | 1074783c93ad113d0a127639b954df116827d0a1 | |
parent | 673a435a06b44d5430ad6191e90b8226ecc37702 (diff) | |
download | cancd-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.c | 25 |
1 files changed, 13 insertions, 12 deletions
@@ -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" |