zeroconf: Fix compile issue

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-09-04 10:07:29 +01:00
parent a340d3cda7
commit 0e842cf1b5
4 changed files with 21 additions and 3 deletions

View File

@ -0,0 +1,17 @@
| zeroconf.c: In function 'main':
| zeroconf.c:145: error: 'PATH_MAX' undeclared (first use in this function)
RP - 4/9/09
Index: zeroconf-0.9/zeroconf.c
===================================================================
--- zeroconf-0.9.orig/zeroconf.c 2009-09-04 10:05:25.000000000 +0100
+++ zeroconf-0.9/zeroconf.c 2009-09-04 10:05:42.000000000 +0100
@@ -33,6 +33,7 @@
#include <net/if_arp.h>
#include <sys/time.h>
#include <signal.h>
+#include <limits.h>
#include "delay.h"

View File

@ -5,11 +5,12 @@ LICENSE = "GPL"
SECTION = "net"
PRIORITY = "optional"
PR = "r0"
PR = "r1"
SRC_URI = "http://www.progsoc.org/~wildfire/zeroconf/download/${PN}-${PV}.tar.gz \
file://zeroconf-default \
file://debian-zeroconf"
file://compilefix.patch;patch=1 \
file://zeroconf-default \
file://debian-zeroconf"
do_install () {
install -d ${D}${sbindir}