Author: marek Date: 2010-03-10 23:34:41 +0100 (Wed, 10 Mar 2010) New Revision: 1590
Modified: branches/batctl-0.2.x/bat-hosts.c branches/batctl-0.2.x/functions.c Log: batctl: add _GNU_SOURCE define to avoid compiler warning
Signed-off-by: Marek Lindner lindner_marek@yahoo.de
Modified: branches/batctl-0.2.x/bat-hosts.c =================================================================== --- branches/batctl-0.2.x/bat-hosts.c 2010-03-10 21:48:40 UTC (rev 1589) +++ branches/batctl-0.2.x/bat-hosts.c 2010-03-10 22:34:41 UTC (rev 1590) @@ -21,6 +21,7 @@
+#define _GNU_SOURCE #include <stdio.h> #include <stdint.h> #include <limits.h>
Modified: branches/batctl-0.2.x/functions.c =================================================================== --- branches/batctl-0.2.x/functions.c 2010-03-10 21:48:40 UTC (rev 1589) +++ branches/batctl-0.2.x/functions.c 2010-03-10 22:34:41 UTC (rev 1590) @@ -20,6 +20,7 @@ */
+#define _GNU_SOURCE #include <netinet/ether.h> #include <sys/types.h> #include <sys/stat.h>