diff options
Diffstat (limited to 'gtk/xdgmime')
-rw-r--r-- | gtk/xdgmime/ChangeLog | 5 | ||||
-rw-r--r-- | gtk/xdgmime/xdgmimecache.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gtk/xdgmime/ChangeLog b/gtk/xdgmime/ChangeLog index 8af43ed4da..5d2f23aef4 100644 --- a/gtk/xdgmime/ChangeLog +++ b/gtk/xdgmime/ChangeLog @@ -1,5 +1,10 @@ 2005-06-20 Matthias Clasen <mclasen@redhat.com> + * xdgmimecache.c: Handle missing MAP_FAILED. (#308449, Georg + Schwarz) + +2005-06-20 Matthias Clasen <mclasen@redhat.com> + * === Released 2.7.0 === 2005-06-10 Federico Mena Quintero <federico@ximian.com> diff --git a/gtk/xdgmime/xdgmimecache.c b/gtk/xdgmime/xdgmimecache.c index 9992f02ac3..4f09a4b073 100644 --- a/gtk/xdgmime/xdgmimecache.c +++ b/gtk/xdgmime/xdgmimecache.c @@ -65,6 +65,10 @@ #define _O_BINARY 0 #endif +#ifndef MAP_FAILED +#define MAP_FAILED ((void *) -1) +#endif + #define MAJOR_VERSION 1 #define MINOR_VERSION 0 |