From: Roy Marples Date: Wed, 21 Feb 2007 22:20:04 +0000 (+0000) Subject: define ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels. X-Git-Tag: v3.2.3~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ef6a67f97f59184d7ab5044e25c553bbbe1e30b;p=thirdparty%2Fdhcpcd.git define ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels. --- diff --git a/ChangeLog b/ChangeLog index 74647310..738ed45f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,5 @@ +define ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels. + dhcpcd-3.0.12 Test to see if the pid in the pidfile is actually running before claiming that we are. diff --git a/interface.h b/interface.h index d0c6343c..b7fb5ae7 100644 --- a/interface.h +++ b/interface.h @@ -34,6 +34,11 @@ #define EUI64_ADDR_LEN 8 #define INFINIBAND_ADDR_LEN 20 +/* Linux 2.4 doesn't define this */ +#ifndef ARPHRD_IEEE1394 +# define ARPHRD_IEEE1394 24 +#endif + /* The BSD's don't define this yet */ #ifndef ARPHRD_INFINIBAND # define ARPHRD_INFINIBAND 27