summaryrefslogtreecommitdiff
authorclem <clem>2004-09-16 22:30:54 (UTC)
committer clem <clem>2004-09-16 22:30:54 (UTC)
commitba8276a03172cfdb41aac4b0cd53307dfdd2b8f1 (patch) (unidiff)
treec1a6f6712064942b773bbc0b11cc474955a96a74
parent85ebe50b5cfa9244c1610aac5d72de8a4cc263b6 (diff)
downloadopie-ba8276a03172cfdb41aac4b0cd53307dfdd2b8f1.zip
opie-ba8276a03172cfdb41aac4b0cd53307dfdd2b8f1.tar.gz
opie-ba8276a03172cfdb41aac4b0cd53307dfdd2b8f1.tar.bz2
define ARPHRD_IEEE80211 if <net/if_arp.h> doesn't (i.e. if our crosscompiler's version is 2.95 and not 3.3)
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/networksettings2/networksettings2/system.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/settings/networksettings2/networksettings2/system.cpp b/noncore/settings/networksettings2/networksettings2/system.cpp
index 271e73d..298bdc9 100644
--- a/noncore/settings/networksettings2/networksettings2/system.cpp
+++ b/noncore/settings/networksettings2/networksettings2/system.cpp
@@ -25,6 +25,10 @@
25 25
26#define PROCNETDEV "/proc/net/dev" 26#define PROCNETDEV "/proc/net/dev"
27 27
28#ifndef ARPHRD_IEEE80211
29#define ARPHRD_IEEE80211 801
30#endif
31
28static char Dig2Hex[] = { 32static char Dig2Hex[] = {
29 '0', '1', '2', '3', 33 '0', '1', '2', '3',
30 '4', '5', '6', '7', 34 '4', '5', '6', '7',