summaryrefslogtreecommitdiff
blob: 19bc929b2bc09da63de9910c941faef7258a8c8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
fix building with newer glibc

http://bugs.gentoo.org/246734

--- a/cancd.c
+++ b/cancd.c
@@ -36,6 +36,7 @@
 #include <libgen.h>
 #include <getopt.h>
 #include <stdarg.h>
+#include <limits.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
 #include <netinet/in.h>