aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/imap/camel-imap-message-cache.c3
-rw-r--r--camel/providers/local/camel-maildir-store.c1
-rw-r--r--camel/providers/local/camel-spoold-store.c1
-rw-r--r--camel/providers/nntp/camel-nntp-store.c4
4 files changed, 8 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-message-cache.c b/camel/providers/imap/camel-imap-message-cache.c
index e5cddf9bae..f7ed6e2a5e 100644
--- a/camel/providers/imap/camel-imap-message-cache.c
+++ b/camel/providers/imap/camel-imap-message-cache.c
@@ -26,10 +26,11 @@
#include <config.h>
#endif
-#include <ctype.h>
+#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <string.h>
+#include <ctype.h>
#include "camel-imap-message-cache.h"
#include "camel-data-wrapper.h"
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c
index 788f1a7abb..ef152b132f 100644
--- a/camel/providers/local/camel-maildir-store.c
+++ b/camel/providers/local/camel-maildir-store.c
@@ -23,6 +23,7 @@
#include <config.h>
#endif
+#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
diff --git a/camel/providers/local/camel-spoold-store.c b/camel/providers/local/camel-spoold-store.c
index aba994cc91..e6b375ce44 100644
--- a/camel/providers/local/camel-spoold-store.c
+++ b/camel/providers/local/camel-spoold-store.c
@@ -23,6 +23,7 @@
#include <config.h>
#endif
+#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <string.h>
diff --git a/camel/providers/nntp/camel-nntp-store.c b/camel/providers/nntp/camel-nntp-store.c
index feca770e37..c4737add36 100644
--- a/camel/providers/nntp/camel-nntp-store.c
+++ b/camel/providers/nntp/camel-nntp-store.c
@@ -23,8 +23,12 @@
* USA
*/
+
+#ifdef HAVE_CONFIG_H
#include <config.h>
+#endif
+#include <sys/types.h>
#include <dirent.h>
#include <errno.h>
#include <stdio.h>