--- plugins/webinterface/httpserver.cpp.old
+++ plugins/webinterface/httpserver.cpp
@@ -29,6 +29,7 @@
 #include <ktemporaryfile.h>
 #include <k3streamsocket.h>
 #include <k3resolver.h>
+#include <time.h>
 
 #include <qfileinfo.h>
 #include <qstringlist.h>