-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 | |||
@@ -28,13 +28,23 @@ | |||
28 | 28 | ||
29 | */ | 29 | */ |
30 | 30 | ||
31 | #ifndef ONETWORK_H | 31 | #ifndef ONETWORK_H |
32 | #define ONETWORK_H | 32 | #define ONETWORK_H |
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 | ||
36 | /* OPIE */ | 46 | /* OPIE */ |
37 | 47 | ||
38 | #include <opie2/onetutils.h> | 48 | #include <opie2/onetutils.h> |
39 | #include <opie2/ostation.h> | 49 | #include <opie2/ostation.h> |
40 | 50 | ||