mmenu: fix annoying __USE_GNU redef warnings
[pandora-libraries.git] / minimenu / mmcache.c
index 941aa74..b40e96b 100644 (file)
@@ -1,4 +1,5 @@
 
+#define __USE_GNU /* for strcasestr */
 #include <stdio.h> /* for FILE etc */
 #include <stdlib.h> /* for malloc */
 #include <unistd.h> /* for unlink */
@@ -7,7 +8,6 @@
 #include <sys/stat.h>
 #include <time.h> /* for time() */
 
-#define __USE_GNU /* for strcasestr */
 #include <string.h> /* for making ftw.h happy */
 
 #include <fcntl.h>
@@ -17,7 +17,6 @@
 #include "SDL_image.h"
 #include "SDL_rotozoom.h"
 
-#define __USE_GNU /* for strcasestr */
 #include <unistd.h> /* for unlink */
 #include <string.h> /* for making ftw.h happy */