Author: marek Date: 2010-03-10 16:31:02 +0100 (Wed, 10 Mar 2010) New Revision: 1585
Modified: trunk/batctl/bat-hosts.c trunk/batctl/functions.c Log: batctl: add _GNU_SOURCE define to avoid compiler warning
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
Modified: trunk/batctl/bat-hosts.c =================================================================== --- trunk/batctl/bat-hosts.c 2010-03-04 15:40:56 UTC (rev 1584) +++ trunk/batctl/bat-hosts.c 2010-03-10 15:31:02 UTC (rev 1585) @@ -21,6 +21,7 @@
+#define _GNU_SOURCE #include <stdio.h> #include <stdint.h> #include <limits.h>
Modified: trunk/batctl/functions.c =================================================================== --- trunk/batctl/functions.c 2010-03-04 15:40:56 UTC (rev 1584) +++ trunk/batctl/functions.c 2010-03-10 15:31:02 UTC (rev 1585) @@ -20,6 +20,7 @@ */
+#define _GNU_SOURCE #include <netinet/ether.h> #include <sys/types.h> #include <sys/stat.h>