summaryrefslogtreecommitdiff
path: root/recipes/zeroconf/files/zeroconf-limits.h.patch
blob: 46ba208fa5e13bc343775a87becad3024e67b57d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
In newer glibc after this commit.

http://sourceware.org/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/bits/socket.h.diff?r1=1.60&r2=1.61&cvsroot=glibc


do not include limits.h indirectly through sockets.h so we would need to include limits.h explicitely.

-Khem

Index: zeroconf-0.9/zeroconf.c
===================================================================
--- zeroconf-0.9.orig/zeroconf.c	2008-05-27 16:56:05.000000000 -0700
+++ zeroconf-0.9/zeroconf.c	2008-05-27 16:56:20.000000000 -0700
@@ -33,6 +33,7 @@
 #include <net/if_arp.h>
 #include <sys/time.h>
 #include <signal.h>
+#include <limits.h>
 
 #include "delay.h"