summaryrefslogtreecommitdiff
path: root/gdk/x11
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@ximian.com>2004-03-06 03:38:59 +0000
committerFederico Mena Quintero <federico@src.gnome.org>2004-03-06 03:38:59 +0000
commit80581c3011871fa000433a881554ffc1e9363468 (patch)
tree8b528a2413d95ba1c4831b7bf02a5b583924e438 /gdk/x11
parent7d94c90fca82c3543c5f860fc5e57cf36a966db8 (diff)
downloadgdk-pixbuf-80581c3011871fa000433a881554ffc1e9363468.tar.gz
Fixes #136082 and #135265, patch by Morten Welinder.
2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
Diffstat (limited to 'gdk/x11')
-rw-r--r--gdk/x11/gdkasync.c1
-rw-r--r--gdk/x11/gdkcolor-x11.c1
-rw-r--r--gdk/x11/gdkcursor-x11.c2
-rw-r--r--gdk/x11/gdkdnd-x11.c1
-rw-r--r--gdk/x11/gdkdrawable-x11.c4
-rw-r--r--gdk/x11/gdkevents-x11.c9
-rw-r--r--gdk/x11/gdkfont-x11.c1
-rw-r--r--gdk/x11/gdkgeometry-x11.c1
-rw-r--r--gdk/x11/gdkglobals-x11.c1
-rw-r--r--gdk/x11/gdkim-x11.c10
-rw-r--r--gdk/x11/gdkinput-none.c1
-rw-r--r--gdk/x11/gdkinput-x11.c1
-rw-r--r--gdk/x11/gdkinput-xfree.c1
-rw-r--r--gdk/x11/gdkinput.c3
-rw-r--r--gdk/x11/gdkkeys-x11.c4
-rw-r--r--gdk/x11/gdkmain-x11.c2
-rw-r--r--gdk/x11/gdkpixmap-x11.c2
-rw-r--r--gdk/x11/gdkproperty-x11.c1
-rw-r--r--gdk/x11/gdkscreen-x11.c3
-rw-r--r--gdk/x11/gdkselection-x11.c1
-rw-r--r--gdk/x11/gdkvisual-x11.c1
-rw-r--r--gdk/x11/gdkwindow-x11.c3
-rw-r--r--gdk/x11/gdkxid.c1
-rw-r--r--gdk/x11/xsettings-client.c1
-rw-r--r--gdk/x11/xsettings-common.c1
25 files changed, 34 insertions, 23 deletions
diff --git a/gdk/x11/gdkasync.c b/gdk/x11/gdkasync.c
index 0d3799810..7e906d966 100644
--- a/gdk/x11/gdkasync.c
+++ b/gdk/x11/gdkasync.c
@@ -43,6 +43,7 @@ used in advertising or otherwise to promote the sale, use or other dealings
in this Software without prior written authorization from The Open Group.
*/
+#include <config.h>
#include <X11/Xlibint.h>
#include "gdkasync.h"
#include "gdkx.h"
diff --git a/gdk/x11/gdkcolor-x11.c b/gdk/x11/gdkcolor-x11.c
index 39b16a4ca..6265dcfc7 100644
--- a/gdk/x11/gdkcolor-x11.c
+++ b/gdk/x11/gdkcolor-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <time.h>
#include "gdkcolor.h"
diff --git a/gdk/x11/gdkcursor-x11.c b/gdk/x11/gdkcursor-x11.c
index 24b5a340f..ae50fc900 100644
--- a/gdk/x11/gdkcursor-x11.c
+++ b/gdk/x11/gdkcursor-x11.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/cursorfont.h>
#ifdef HAVE_XCURSOR
diff --git a/gdk/x11/gdkdnd-x11.c b/gdk/x11/gdkdnd-x11.c
index feb3119f9..01c0aee26 100644
--- a/gdk/x11/gdkdnd-x11.c
+++ b/gdk/x11/gdkdnd-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <string.h>
diff --git a/gdk/x11/gdkdrawable-x11.c b/gdk/x11/gdkdrawable-x11.c
index d18e9502e..2c3744b77 100644
--- a/gdk/x11/gdkdrawable-x11.c
+++ b/gdk/x11/gdkdrawable-x11.c
@@ -24,11 +24,11 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include "gdkx.h"
#include "gdkregion-generic.h"
-#include <config.h>
-
#include <pango/pangoxft.h>
#include <stdlib.h>
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index 3be4d0fa6..294dd1f80 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -24,6 +24,8 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include "gdk.h"
#include "gdkprivate-x11.h"
#include "gdkinternals.h"
@@ -36,12 +38,7 @@
#include "xsettings-client.h"
-#if HAVE_CONFIG_H
-# include <config.h>
-# if STDC_HEADERS
-# include <string.h>
-# endif
-#endif
+#include <string.h>
#include "gdkinputprivate.h"
diff --git a/gdk/x11/gdkfont-x11.c b/gdk/x11/gdkfont-x11.c
index ff299dc1e..ce2f977ed 100644
--- a/gdk/x11/gdkfont-x11.c
+++ b/gdk/x11/gdkfont-x11.c
@@ -26,6 +26,7 @@
#undef GDK_DISABLE_DEPRECATED
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xos.h>
#include <locale.h>
diff --git a/gdk/x11/gdkgeometry-x11.c b/gdk/x11/gdkgeometry-x11.c
index 976b1aa98..6e3c29888 100644
--- a/gdk/x11/gdkgeometry-x11.c
+++ b/gdk/x11/gdkgeometry-x11.c
@@ -129,6 +129,7 @@
* unless the user has a _really_ huge screen.
*/
+#include <config.h>
#include "gdk.h" /* For gdk_rectangle_intersect */
#include "gdkprivate-x11.h"
#include "gdkx.h"
diff --git a/gdk/x11/gdkglobals-x11.c b/gdk/x11/gdkglobals-x11.c
index 7dd2a468a..5332bc5ed 100644
--- a/gdk/x11/gdkglobals-x11.c
+++ b/gdk/x11/gdkglobals-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <stdio.h>
#include "gdktypes.h"
diff --git a/gdk/x11/gdkim-x11.c b/gdk/x11/gdkim-x11.c
index 263b149f1..bbcd39beb 100644
--- a/gdk/x11/gdkim-x11.c
+++ b/gdk/x11/gdkim-x11.c
@@ -24,8 +24,11 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <locale.h>
#include <stdlib.h>
+#include <string.h>
#include "gdkx.h"
#include "gdk.h" /* For gdk_flush() */
@@ -34,13 +37,6 @@
#include "gdkinternals.h"
#include "gdkdisplay-x11.h"
-#if HAVE_CONFIG_H
-# include <config.h>
-# if STDC_HEADERS
-# include <string.h>
-# endif
-#endif
-
/* If this variable is FALSE, it indicates that we should
* avoid trying to use multibyte conversion functions and
diff --git a/gdk/x11/gdkinput-none.c b/gdk/x11/gdkinput-none.c
index 1c468e918..7f8a92f77 100644
--- a/gdk/x11/gdkinput-none.c
+++ b/gdk/x11/gdkinput-none.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkinputprivate.h"
#include "gdkdisplay-x11.h"
diff --git a/gdk/x11/gdkinput-x11.c b/gdk/x11/gdkinput-x11.c
index f1c86a8db..1f294e79f 100644
--- a/gdk/x11/gdkinput-x11.c
+++ b/gdk/x11/gdkinput-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkinputprivate.h"
#include "gdkinternals.h"
#include "gdkx.h"
diff --git a/gdk/x11/gdkinput-xfree.c b/gdk/x11/gdkinput-xfree.c
index f8befc6ea..88ec80ca9 100644
--- a/gdk/x11/gdkinput-xfree.c
+++ b/gdk/x11/gdkinput-xfree.c
@@ -17,6 +17,7 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include "gdkinputprivate.h"
#include "gdkdisplay-x11.h"
diff --git a/gdk/x11/gdkinput.c b/gdk/x11/gdkinput.c
index eb9fc32ae..f9e653026 100644
--- a/gdk/x11/gdkinput.c
+++ b/gdk/x11/gdkinput.c
@@ -24,10 +24,11 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
-#include "config.h"
#include "gdkx.h"
#include "gdkinput.h"
diff --git a/gdk/x11/gdkkeys-x11.c b/gdk/x11/gdkkeys-x11.c
index d58f862dd..b369b89be 100644
--- a/gdk/x11/gdkkeys-x11.c
+++ b/gdk/x11/gdkkeys-x11.c
@@ -24,6 +24,8 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -39,8 +41,6 @@
#include "gdkdisplay-x11.h"
#include "gdkkeysyms.h"
-#include "config.h"
-
#ifdef HAVE_XKB
#include <X11/XKBlib.h>
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c
index 3f8462f0a..50f7df90d 100644
--- a/gdk/x11/gdkmain-x11.c
+++ b/gdk/x11/gdkmain-x11.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <glib/gprintf.h>
#include <stdlib.h>
diff --git a/gdk/x11/gdkpixmap-x11.c b/gdk/x11/gdkpixmap-x11.c
index 9b4223425..83a0ec522 100644
--- a/gdk/x11/gdkpixmap-x11.c
+++ b/gdk/x11/gdkpixmap-x11.c
@@ -24,7 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
-#include "config.h"
+#include <config.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/gdk/x11/gdkproperty-x11.c b/gdk/x11/gdkproperty-x11.c
index 3f722492a..3c5057cdb 100644
--- a/gdk/x11/gdkproperty-x11.c
+++ b/gdk/x11/gdkproperty-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <string.h>
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index 7bd7fcc95..f575ffa52 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -21,10 +21,11 @@
* Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include <stdlib.h>
#include <string.h>
-#include <config.h>
#include <glib.h>
#include "gdkscreen.h"
#include "gdkscreen-x11.h"
diff --git a/gdk/x11/gdkselection-x11.c b/gdk/x11/gdkselection-x11.c
index ce11b5a40..5b37607be 100644
--- a/gdk/x11/gdkselection-x11.c
+++ b/gdk/x11/gdkselection-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xatom.h>
#include <string.h>
diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
index 25004749f..29bcf8e56 100644
--- a/gdk/x11/gdkvisual-x11.c
+++ b/gdk/x11/gdkvisual-x11.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 93bb3df6c..a4a26d14b 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -24,13 +24,14 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
+
#include <X11/Xlib.h>
#include <X11/Xutil.h>
#include <X11/Xatom.h>
#include <netinet/in.h>
#include <unistd.h>
#include "gdk.h"
-#include "config.h"
#include "gdkwindow.h"
#include "gdkasync.h"
diff --git a/gdk/x11/gdkxid.c b/gdk/x11/gdkxid.c
index ac851208b..43fef8cc1 100644
--- a/gdk/x11/gdkxid.c
+++ b/gdk/x11/gdkxid.c
@@ -24,6 +24,7 @@
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
*/
+#include <config.h>
#include "gdkprivate-x11.h"
#include "gdkdisplay-x11.h"
#include <stdio.h>
diff --git a/gdk/x11/xsettings-client.c b/gdk/x11/xsettings-client.c
index 50c33ce80..46a562d0b 100644
--- a/gdk/x11/xsettings-client.c
+++ b/gdk/x11/xsettings-client.c
@@ -20,6 +20,7 @@
*
* Author: Owen Taylor, Red Hat, Inc.
*/
+#include <config.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
diff --git a/gdk/x11/xsettings-common.c b/gdk/x11/xsettings-common.c
index 3d7444046..97caf61e1 100644
--- a/gdk/x11/xsettings-common.c
+++ b/gdk/x11/xsettings-common.c
@@ -20,6 +20,7 @@
*
* Author: Owen Taylor, Red Hat, Inc.
*/
+#include <config.h>
#include "string.h"
#include "stdlib.h"