aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-mktemp.c7
2 files changed, 9 insertions, 2 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index f26db16308..b50d12c6dd 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-04 Jeffrey Stedfast <fejj@ximian.com>
+
+ * e-mktemp.c: #include <string.h> for strcmp.
+
2002-02-22 Dan Winship <danw@ximian.com>
* e-html-utils.c (e_text_to_html_full): Fix for if the buffer ends
diff --git a/e-util/e-mktemp.c b/e-util/e-mktemp.c
index 56f8f2011d..48a45c0288 100644
--- a/e-util/e-mktemp.c
+++ b/e-util/e-mktemp.c
@@ -20,14 +20,15 @@
*/
-#include "e-mktemp.h"
-
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
#include <glib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <stdlib.h>
+#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <dirent.h>
@@ -37,6 +38,8 @@
#include <pthread.h>
#endif
+#include "e-mktemp.h"
+
static gboolean initialized = FALSE;
static GSList *temp_files = NULL;