summaryrefslogtreecommitdiffstats
path: root/interface.h
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-02-21 22:20:04 +0000
committerRoy Marples <roy@marples.name>2007-02-21 22:20:04 +0000
commit5ef6a67f97f59184d7ab5044e25c553bbbe1e30b (patch)
tree81d6b8ace457532d3cfa61ef8fa6f859ac0126f8 /interface.h
parente82c870500d2de97f2bb05771cd33e993a2ef8e4 (diff)
downloaddhcpcd-5ef6a67f97f59184d7ab5044e25c553bbbe1e30b.tar.xz
define ARPHRD_IEEE1394 if it doesn not exist, like for Linux-2.4 kernels.
Diffstat (limited to 'interface.h')
-rw-r--r--interface.h5
1 files changed, 5 insertions, 0 deletions
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