summaryrefslogtreecommitdiff
blob: b1c99b1cd56527077c229a70ff949347d7be8844 (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

--- cancd.c
+++ 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>