[pisa-src] r1646 - trunk/tools/iwlist_parser.c

  • From: Thomas Jansen <mithi@xxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 11 Nov 2009 14:26:41 +0100

Author: tjansen
Date: Wed Nov 11 14:26:41 2009
New Revision: 1646

Log:
Added _XOPEN_SOURCE.

Required for -std=c99.

Modified:
   trunk/tools/iwlist_parser.c

Modified: trunk/tools/iwlist_parser.c
==============================================================================
--- trunk/tools/iwlist_parser.c Wed Nov 11 14:24:24 2009        (r1645)
+++ trunk/tools/iwlist_parser.c Wed Nov 11 14:26:41 2009        (r1646)
@@ -9,6 +9,8 @@
 // Reads the result of iwlist <interface> scan and parses ESSID's, MAC's and 
the respective signal strength.
 // In the end, the network with best signal strength is selected, and given 
out for iwconfig to use.
 
+#define _XOPEN_SOURCE
+
 #include <string.h>
 #include <stdio.h>
 #include <stdlib.h>

Other related posts:

  • » [pisa-src] r1646 - trunk/tools/iwlist_parser.c - Thomas Jansen