stat
[oweals/gnunet.git] / src / transport / gnunet-helper-transport-wlan.c
index 2edd171f48c2f3e72131e650966be0848af98e44..0343b161bbb29b9cf081869e087b692c33dad422 100644 (file)
 /*
  * parts taken from aircrack-ng, parts changend.
  */
-
-#define _GNU_SOURCE
+#include "gnunet_config.h"
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
@@ -1926,8 +1925,8 @@ main (int argc, char *argv[])
        (void) close (dev.fd_raw);
       return 1;
     }
-  }
 #endif
+  }
 
 
   /* send MAC address of the WLAN interface to STDOUT first */