summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorFrançois Andriot <[email protected]>2014-10-12 18:43:29 +0200
committerSlávek Banko <[email protected]>2014-10-12 18:50:09 +0200
commite12a6ff6f5b4b9e58e425cee7d8a5ca764e84a3e (patch)
treefc780280ffb955a1959a11e6bffb5a33b30abdd7 /tdeioslave
parentd44368772a415573cd6966486deeb3f942824573 (diff)
downloadtdebase-e12a6ff6f5b4b9e58e425cee7d8a5ca764e84a3e.tar.gz
tdebase-e12a6ff6f5b4b9e58e425cee7d8a5ca764e84a3e.zip
Fix FTBFS in tdeioslave_smtp because missing headers
Diffstat (limited to 'tdeioslave')
-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