Index: uspace/lib/posix/fnmatch.h
===================================================================
--- uspace/lib/posix/fnmatch.h	(revision 4d418212a3c06f946494abd1a2f0fb7028a00a21)
+++ uspace/lib/posix/fnmatch.h	(revision 230fcfe45c32bef719d48089c7cb84cffedc15a2)
@@ -48,4 +48,12 @@
 #define FNM_NOESCAPE 4
 
+/* GNU Extensions */
+#undef FNM_FILE_NAME
+#undef FNM_LEADING_DIR
+#undef FNM_CASEFOLD
+#define FNM_FILE_NAME FNM_PATHNAME
+#define FNM_LEADING_DIR 8
+#define FNM_CASEFOLD 16
+
 extern int posix_fnmatch(const char *pattern, const char *string, int flags);
 
