--- kdelibs-3.5.10/kio/misc/kssld/Makefile.am.orig	2005-10-11 00:05:43.000000000 +0900
+++ kdelibs-3.5.10/kio/misc/kssld/Makefile.am	2010-07-12 07:24:35.000000000 +0900
@@ -16,7 +16,7 @@
 #    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 #    Boston, MA 02110-1301, USA.
 
-INCLUDES= -I$(srcdir)/.. -I$(top_srcdir) $(SSL_INCLUDES) -I$(top_srcdir)/kio/kssl -I$(top_builddir)/kio/kssl $(all_includes)
+INCLUDES= -I$(srcdir)/.. -I$(top_srcdir) -I$(top_srcdir)/kio/kssl -I$(top_builddir)/kio/kssl $(all_includes) $(SSL_INCLUDES)
 
 kde_module_LTLIBRARIES = kded_kssld.la
 
