$OpenBSD: patch-kioslave_smtp_smtp_cc,v 1.1 2012/11/24 09:08:09 sthen Exp $
--- kioslave/smtp/smtp.cc.orig	Fri Nov 23 21:42:46 2012
+++ kioslave/smtp/smtp.cc	Fri Nov 23 21:44:51 2012
@@ -30,6 +30,10 @@
 
 #include <config.h>
 
+#ifdef HAVE_SYS_TYPES_H
+# include <sys/types.h>
+#endif
+
 #ifdef HAVE_LIBSASL2
 extern "C" {
 #include <sasl/sasl.h>
@@ -74,9 +78,6 @@ using std::auto_ptr;
 #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
