aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-mktemp.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-mktemp.c')
-rw-r--r--e-util/e-mktemp.c7
1 files changed, 5 insertions, 2 deletions
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;