diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-05-28 00:49:38 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-05-28 00:49:38 +0000 |
commit | bfdfd1bc5bcdca8b133ddaa7f1c33df96123a009 (patch) | |
tree | 0c04bc582fe8dae67835b9df90472ce0bbf42ad0 /packages/zeroconf/files | |
parent | bd0a353bf83f1c9cb7e0f61f9acd68d2a6c5ad22 (diff) |
Include limits.h explicitly in zeroconf.c
Diffstat (limited to 'packages/zeroconf/files')
-rw-r--r-- | packages/zeroconf/files/zeroconf-limits.h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/zeroconf/files/zeroconf-limits.h.patch b/packages/zeroconf/files/zeroconf-limits.h.patch new file mode 100644 index 0000000000..46ba208fa5 --- /dev/null +++ b/packages/zeroconf/files/zeroconf-limits.h.patch @@ -0,0 +1,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" + |