]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
define ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels.
authorRoy Marples <roy@marples.name>
Wed, 21 Feb 2007 22:20:04 +0000 (22:20 +0000)
committerRoy Marples <roy@marples.name>
Wed, 21 Feb 2007 22:20:04 +0000 (22:20 +0000)
ChangeLog
interface.h

index 746473108acee4f4aaf459baaddd557e5b049eca..738ed45fae9e03484c26f5c3f20d56a5880cc5d9 100644 (file)
--- 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.
index d0c6343cf8ed96768a8a46ad22aee7f55b3dead5..b7fb5ae789ad852b4c0b3adb7d80c50058ff90f5 100644 (file)
 #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