aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-03-05 04:33:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-05 04:33:34 +0800
commit046de2dc3f4350ed949cc7df1e49b43bbf710a30 (patch)
tree41c2a03a728da4999e8a4ec9d5b06900b5781a43 /e-util
parent1816d860eb4213114e2580da291ee1f41ec2030d (diff)
downloadgsoc2013-evolution-046de2dc3f4350ed949cc7df1e49b43bbf710a30.tar.gz
gsoc2013-evolution-046de2dc3f4350ed949cc7df1e49b43bbf710a30.tar.zst
gsoc2013-evolution-046de2dc3f4350ed949cc7df1e49b43bbf710a30.zip
#include <string.h> for strcmp.
2002-03-04 Jeffrey Stedfast <fejj@ximian.com> * e-mktemp.c: #include <string.h> for strcmp. svn path=/trunk/; revision=15907
Diffstat (limited to 'e-util')
-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;