diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-10-06 14:23:35 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-10-06 14:23:35 +0000 |
commit | 971d81de43b2b5e5c20baebfe95665d6a8b4fb9f (patch) | |
tree | 5299fe184e08e58ac7c5498aa2f9c6bff8a30f84 /src/transport/gnunet-helper-transport-wlan.c | |
parent | 7ffdea272cd084b39c2a37f23f3eca91aa4daf7b (diff) | |
download | gnunet-971d81de43b2b5e5c20baebfe95665d6a8b4fb9f.tar.gz gnunet-971d81de43b2b5e5c20baebfe95665d6a8b4fb9f.zip |
-fix #ifdef HAVE_RESUID
Diffstat (limited to 'src/transport/gnunet-helper-transport-wlan.c')
-rw-r--r-- | src/transport/gnunet-helper-transport-wlan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/transport/gnunet-helper-transport-wlan.c b/src/transport/gnunet-helper-transport-wlan.c index 2edd171f4..0343b161b 100644 --- a/src/transport/gnunet-helper-transport-wlan.c +++ b/src/transport/gnunet-helper-transport-wlan.c | |||
@@ -109,8 +109,7 @@ | |||
109 | /* | 109 | /* |
110 | * parts taken from aircrack-ng, parts changend. | 110 | * parts taken from aircrack-ng, parts changend. |
111 | */ | 111 | */ |
112 | 112 | #include "gnunet_config.h" | |
113 | #define _GNU_SOURCE | ||
114 | #include <sys/socket.h> | 113 | #include <sys/socket.h> |
115 | #include <sys/ioctl.h> | 114 | #include <sys/ioctl.h> |
116 | #include <sys/types.h> | 115 | #include <sys/types.h> |
@@ -1926,8 +1925,8 @@ main (int argc, char *argv[]) | |||
1926 | (void) close (dev.fd_raw); | 1925 | (void) close (dev.fd_raw); |
1927 | return 1; | 1926 | return 1; |
1928 | } | 1927 | } |
1929 | } | ||
1930 | #endif | 1928 | #endif |
1929 | } | ||
1931 | 1930 | ||
1932 | 1931 | ||
1933 | /* send MAC address of the WLAN interface to STDOUT first */ | 1932 | /* send MAC address of the WLAN interface to STDOUT first */ |