summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-10-22 19:08:25 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-10-22 19:08:25 +0000
commita0263ec811899678ff2dd674f9f002d9c09bba43 (patch)
tree0d5df90e78df429c26d3f0bb094fb39a561e638b /gtk
parent5c91c3a08ae4b4d96b1d42e54d88a4db27613f95 (diff)
downloadgdk-pixbuf-a0263ec811899678ff2dd674f9f002d9c09bba43.tar.gz
When compiling our on fnmatch.c, #define fnmatch _gtk_fnmatch (#92890,
Tue Oct 22 15:03:41 2002 Owen Taylor <otaylor@redhat.com> * gtk/fnmatch.h: When compiling our on fnmatch.c, #define fnmatch _gtk_fnmatch (#92890, Jacob Berkman)
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