author | mickeyl <mickeyl> | 2004-02-23 18:37:03 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2004-02-23 18:37:03 (UTC) |
commit | 19b274033fc05d5190cee2fa974c683892173c84 (patch) (unidiff) | |
tree | 2ad0727ba2414c215cb4b55b93f3b610304c1742 /libopie2/opienet/onetwork.h | |
parent | ab0203a43a30598774d8d8a1cf32075817d0dceb (diff) | |
download | opie-19b274033fc05d5190cee2fa974c683892173c84.zip opie-19b274033fc05d5190cee2fa974c683892173c84.tar.gz opie-19b274033fc05d5190cee2fa974c683892173c84.tar.bz2 |
The Linux Wireless Extensions V16 introduce some massive changes in the
binary structures. Since we still use V15 on most target platforms I have
to introduce two headers. Define OPIE_WE_VERSION to specify which header to include
-rw-r--r-- | libopie2/opienet/onetwork.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libopie2/opienet/onetwork.h b/libopie2/opienet/onetwork.h index 9b8a0d4..0a51108 100644 --- a/libopie2/opienet/onetwork.h +++ b/libopie2/opienet/onetwork.h | |||
@@ -33,3 +33,13 @@ | |||
33 | 33 | ||
34 | #include "wireless.h" | 34 | #if !defined( OPIE_WE_VERSION ) |
35 | #error Need to define a wireless extension version to build against! | ||
36 | #endif | ||
37 | |||
38 | #if OPIE_WE_VERSION == 15 | ||
39 | #include "wireless.15.h" | ||
40 | #endif | ||
41 | |||
42 | #if OPIE_WE_VERSION == 16 | ||
43 | #include "wireless.16.h" | ||
44 | #endif | ||
35 | 45 | ||