summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/fnmatch.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/fnmatch.h b/gtk/fnmatch.h
index e00ed61c5..f2131f8f5 100644
--- a/gtk/fnmatch.h
+++ b/gtk/fnmatch.h
@@ -27,10 +27,16 @@
#define _FNMATCH_H 1
+#include <stdlib.h> /* Something to pull in features.h */
+
#ifdef __cplusplus
extern "C" {
#endif
+#if !defined (__GNU_LIBRARY__)
+#define fnmatch _gtk_fnmatch
+#endif
+
#if defined (__cplusplus) || (defined (__STDC__) && __STDC__)
#undef __P
#define __P(protos) protos