include elementary_config.h first (hence no need for _GNU_SOURCE)
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 20 Apr 2012 07:35:46 +0000 (07:35 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Fri, 20 Apr 2012 07:35:46 +0000 (07:35 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@70349 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/bin/test.c

index 2bafaa6..2ca69d2 100644 (file)
@@ -1,11 +1,10 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
 
-#define _GNU_SOURCE
 #include <string.h>
 #include <Elementary.h>
 #include "test.h"
-#ifdef HAVE_CONFIG_H
-# include "elementary_config.h"
-#endif
 #ifndef ELM_LIB_QUICKLAUNCH
 
 /* all tests prototypes */