aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index edb3bf0805..9a076c5856 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -32,6 +32,11 @@
#include "session.h"
#include "e-util/e-setup.h"
+#ifndef HAVE_MKSTEMP
+#include <fcntl.h>
+#include <sys/stat.h>
+#endif
+
static void
mail_exception_dialog (char *head, CamelException *ex, GtkWindow *window)
{