author | mjm <mjm> | 2002-12-16 17:57:51 (UTC) |
---|---|---|
committer | mjm <mjm> | 2002-12-16 17:57:51 (UTC) |
commit | e6255e52c1ec8988f3a1490827b92874459d6ede (patch) (side-by-side diff) | |
tree | 53907450c66fd3c48b6001c43166a81429df091c /noncore/net/wellenreiter/libwellenreiter | |
parent | 0228363d2dead01a93a4ae151f415cff4393a2b0 (diff) | |
download | opie-e6255e52c1ec8988f3a1490827b92874459d6ede.zip opie-e6255e52c1ec8988f3a1490827b92874459d6ede.tar.gz opie-e6255e52c1ec8988f3a1490827b92874459d6ede.tar.bz2 |
fixed some forgotten includes (again)
Diffstat (limited to 'noncore/net/wellenreiter/libwellenreiter') (more/less context) (show whitespace changes)
3 files changed, 5 insertions, 1 deletions
diff --git a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh index 7c6a21d..b85b7b7 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh +++ b/noncore/net/wellenreiter/libwellenreiter/source/cardmode.hh @@ -1,23 +1,24 @@ /* $Id$ */ #ifndef CARDMODE_HH #define CARDMODE_HH #include <string.h> #include <stdlib.h> #include <errno.h> +#include <sys/types.h> +#include <sys/time.h> #include <sys/socket.h> #include <netinet/in.h> -#include <arpa/inet.h> extern "C" { #include <net/bpf.h> #include <pcap.h> } /* Defines, used for the card setup */ #define DEFAULT_PATH "/proc/driver/aironet/%s/Config" #define CARD_TYPE_CISCO 1 #define CARD_TYPE_NG 2 #define CARD_TYPE_HOSTAP 3 diff --git a/noncore/net/wellenreiter/libwellenreiter/source/proto.cc b/noncore/net/wellenreiter/libwellenreiter/source/proto.cc index 2ec23f4..a1228e4 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/proto.cc +++ b/noncore/net/wellenreiter/libwellenreiter/source/proto.cc @@ -1,20 +1,21 @@ /* * Communication protocol * * $Id$ */ #include "proto.hh" #include "sock.hh" +#include "log.hh" /* Send found network to GUI */ int send_network_found (const char *guihost, int guiport, void *structure) { wl_network_t *ptr; char buffer[2048]; char temp[5]; ptr = (wl_network_t *)structure; memset(buffer, 0, 2048); diff --git a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh index c13461a..c7108ac 100644 --- a/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh +++ b/noncore/net/wellenreiter/libwellenreiter/source/sniff.hh @@ -1,21 +1,23 @@ /* $Id$ */ #ifndef SNIFF_HH #define SNIFF_HH #include <string.h> #include <stdio.h> #include <stdlib.h> #include <errno.h> +#include <sys/types.h> +#include <sys/time.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> extern "C" { #include <net/bpf.h> #include <pcap.h> } #define NONBROADCASTING "non-broadcasting" |