summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects/tangogps/global-config-h.patch
blob: 973710c94293fc39dddd12b1a9e6191a0cab844e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Index: tangoGPS-0.7/src/globals.c
===================================================================
--- tangoGPS-0.7.orig/src/globals.c	2008-03-13 14:21:02.000000000 +0800
+++ tangoGPS-0.7/src/globals.c	2008-03-13 14:28:49.000000000 +0800
@@ -3,11 +3,11 @@
  *  License    GPLv2
  ****************************************************************************/
 
+#include "globals.h"
+
 #include <gtk/gtk.h>
 #include <gps.h>
 
-#include "globals.h"
-
 GdkPixmap *pixmap = NULL;
 GtkWidget *window1 = NULL;
 GtkWidget *window2 = NULL;
Index: tangoGPS-0.7/src/globals.h
===================================================================
--- tangoGPS-0.7.orig/src/globals.h	2008-03-13 14:27:46.000000000 +0800
+++ tangoGPS-0.7/src/globals.h	2008-03-13 14:27:48.000000000 +0800
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#  include <config.h>
+#endif
+
 #include <gtk/gtk.h>
 #include <gconf/gconf-client.h>