summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tdeioslave/smtp/smtp.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/tdeioslave/smtp/smtp.cc b/tdeioslave/smtp/smtp.cc
index 43c15ecd2..00dff3684 100644
--- a/tdeioslave/smtp/smtp.cc
+++ b/tdeioslave/smtp/smtp.cc
@@ -30,6 +30,11 @@
#include <config.h>
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+#include <stdio.h>
+
#ifdef HAVE_LIBSASL2
extern "C" {
#include <sasl/sasl.h>
@@ -71,12 +76,8 @@ using std::auto_ptr;
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
-#include <stdio.h>
#include <assert.h>
-#ifdef HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif