Mercurial > hg > dhcpcd
changeset 65:a205ee177dcd draft
define ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 21 Feb 2007 22:20:04 +0000 |
| parents | 0aebfea7a48d |
| children | ec2de3435865 |
| files | ChangeLog interface.h |
| diffstat | 2 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Feb 21 12:56:22 2007 +0000 +++ b/ChangeLog Wed Feb 21 22:20:04 2007 +0000 @@ -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.
--- a/interface.h Wed Feb 21 12:56:22 2007 +0000 +++ b/interface.h Wed Feb 21 22:20:04 2007 +0000 @@ -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
