aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-gui-utils.c1
-rw-r--r--e-util/e-memory.c4
-rw-r--r--e-util/e-msgport.c4
-rw-r--r--e-util/e-pilot-map.c5
-rw-r--r--e-util/e-sexp.c5
6 files changed, 17 insertions, 8 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index adabec2e9d..6ba0ba597e 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,9 @@
+2001-04-24 Kjartan Maraas <kmaraas@gnome.org>
+
+ * e-gui-utils.c, e-memory, e-msgport.c, e-pilot-map, e-sexp.c:
+ Added #include <glib.h> and move corresponding local headers
+ to the top to catch missing includes in them. Tip from clahey.
+
2001-04-24 Chris Toshok <toshok@ximian.com>
* e-host-utils.h: remove prototype for e_gethostbyname_init.
diff --git a/e-util/e-gui-utils.c b/e-util/e-gui-utils.c
index 2ed26448f3..d6b72f6b69 100644
--- a/e-util/e-gui-utils.c
+++ b/e-util/e-gui-utils.c
@@ -12,6 +12,7 @@
#include "e-gui-utils.h"
+#include <glib.h>
#include <gtk/gtksignal.h>
#include <gtk/gtkalignment.h>
#include <libgnome/gnome-defs.h>
diff --git a/e-util/e-memory.c b/e-util/e-memory.c
index 0265088297..80bd845777 100644
--- a/e-util/e-memory.c
+++ b/e-util/e-memory.c
@@ -20,12 +20,12 @@
*/
+#include "e-memory.h"
+
#include <string.h> /* memset() */
#include <stdlib.h> /* alloca() */
#include <glib.h>
-#include "e-memory.h"
-
#define s(x) /* strv debug */
/*#define TIMEIT*/
diff --git a/e-util/e-msgport.c b/e-util/e-msgport.c
index d7e3e02776..683aa85d78 100644
--- a/e-util/e-msgport.c
+++ b/e-util/e-msgport.c
@@ -1,4 +1,6 @@
+#include "e-msgport.h"
+
#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>
@@ -10,8 +12,6 @@
#include <glib.h>
-#include "e-msgport.h"
-
#define m(x) /* msgport debug */
#define t(x) /* thread debug */
diff --git a/e-util/e-pilot-map.c b/e-util/e-pilot-map.c
index 87eba7020e..d0c0a17301 100644
--- a/e-util/e-pilot-map.c
+++ b/e-util/e-pilot-map.c
@@ -20,14 +20,15 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#include "e-pilot-map.h"
+
#include <string.h> /* memset(), strcmp() */
#include <stdlib.h>
+#include <glib.h>
#include <gnome-xml/parser.h>
#include <libgnome/gnome-defs.h>
#include <libgnome/gnome-util.h>
-#include "e-pilot-map.h"
-
typedef struct
{
char *uid;
diff --git a/e-util/e-sexp.c b/e-util/e-sexp.c
index 21fb751314..4ba42cb336 100644
--- a/e-util/e-sexp.c
+++ b/e-util/e-sexp.c
@@ -77,14 +77,15 @@
Execute a sequence. The last function return is the return type.
*/
+#include "e-sexp.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
+#include <glib.h>
#include "e-memory.h"
-#include "e-sexp.h"
-
#define p(x) /* parse debug */
#define r(x) /* run debug */
#define d(x) /* general debug */