author | mickeyl <mickeyl> | 2003-03-30 13:52:20 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-03-30 13:52:20 (UTC) |
commit | 9e3dc048e171af6d88f0cc3f16ad0c9fb6a15ce2 (patch) (unidiff) | |
tree | 2d3bd9b940729878f96d5dc2f2ef9fd22478f3f0 /libopie2/opienet/onetwork.cpp | |
parent | 3065a1c13bec5d0b101bec48ff666d45a02ce8a6 (diff) | |
download | opie-9e3dc048e171af6d88f0cc3f16ad0c9fb6a15ce2.zip opie-9e3dc048e171af6d88f0cc3f16ad0c9fb6a15ce2.tar.gz opie-9e3dc048e171af6d88f0cc3f16ad0c9fb6a15ce2.tar.bz2 |
introduce a workaround for conflicting user and kernel headers like
<linux/if.h> and <net/if.h>. I really don't like including kernel headers,
but in the case of <linux/wireless.h> there is no other option yet.
-rw-r--r-- | libopie2/opienet/onetwork.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libopie2/opienet/onetwork.cpp b/libopie2/opienet/onetwork.cpp index 998b50e..21fa390 100644 --- a/libopie2/opienet/onetwork.cpp +++ b/libopie2/opienet/onetwork.cpp | |||
@@ -49,13 +49,12 @@ | |||
49 | #include <math.h> | 49 | #include <math.h> |
50 | #include <sys/ioctl.h> | 50 | #include <sys/ioctl.h> |
51 | #include <sys/socket.h> | 51 | #include <sys/socket.h> |
52 | #include <sys/types.h> | 52 | #include <sys/types.h> |
53 | #include <unistd.h> | 53 | #include <unistd.h> |
54 | #include <linux/sockios.h> | 54 | #include <linux/sockios.h> |
55 | #include <linux/wireless.h> | ||
56 | 55 | ||
57 | using namespace std; | 56 | using namespace std; |
58 | 57 | ||
59 | /*====================================================================================== | 58 | /*====================================================================================== |
60 | * ONetwork | 59 | * ONetwork |
61 | *======================================================================================*/ | 60 | *======================================================================================*/ |