comparison src/main.c @ 1711:ce8ec81a9601

Some systems (BSD,MacOsX,HP-UX,...) define MAP_ANON and not MAP_ANONYMOUS. Make each an alias of other to be sure. issue reported by Martin Proetzsch.
author zas_
date Thu, 30 Jul 2009 17:59:20 +0000
parents 97ac3a58adae
children 808d4308ca00
comparison
equal deleted inserted replaced
1710:fce6debc934e 1711:ce8ec81a9601
8 * This software is released under the GNU General Public License (GNU GPL). 8 * This software is released under the GNU General Public License (GNU GPL).
9 * Please read the included file COPYING for more information. 9 * Please read the included file COPYING for more information.
10 * This software comes with no warranty of any kind, use at your own risk! 10 * This software comes with no warranty of any kind, use at your own risk!
11 */ 11 */
12 12
13 #include <gdk/gdkkeysyms.h> /* for keyboard values */
14 #ifdef HAVE_LIBCHAMPLAIN
15 #ifdef HAVE_LIBCHAMPLAIN_GTK
16 #include <clutter-gtk/gtk-clutter-embed.h>
17 #endif
18 #endif
19
20 #include <signal.h>
21 #include <sys/mman.h>
22
23 #include <math.h>
24 #ifdef G_OS_UNIX
25 #include <pwd.h>
26 #endif
13 27
14 #include "main.h" 28 #include "main.h"
15 29
16 #include "cache.h" 30 #include "cache.h"
17 #include "collect.h" 31 #include "collect.h"
34 #include "editors.h" 48 #include "editors.h"
35 #include "exif.h" 49 #include "exif.h"
36 #include "histogram.h" 50 #include "histogram.h"
37 #include "pixbuf_util.h" 51 #include "pixbuf_util.h"
38 52
39 #include <gdk/gdkkeysyms.h> /* for keyboard values */
40 #ifdef HAVE_LIBCHAMPLAIN
41 #ifdef HAVE_LIBCHAMPLAIN_GTK
42 #include <clutter-gtk/gtk-clutter-embed.h>
43 #endif
44 #endif
45
46 #include <signal.h>
47 #include <sys/mman.h>
48
49 #include <math.h>
50 #ifdef G_OS_UNIX
51 #include <pwd.h>
52 #endif
53 53
54 gboolean thumb_format_changed = FALSE; 54 gboolean thumb_format_changed = FALSE;
55 static RemoteConnection *remote_connection = NULL; 55 static RemoteConnection *remote_connection = NULL;
56 56
57 /* 57 /*