$OpenBSD: patch-provider_server_ECServer_cpp,v 1.6 2010/06/30 02:46:48 ajacoutot Exp $
--- provider/server/ECServer.cpp.orig	Mon May 31 19:28:59 2010
+++ provider/server/ECServer.cpp	Mon Jun 14 09:16:44 2010
@@ -82,6 +82,10 @@
 #include <libintl.h>
 #include <map>
 
+#ifdef __OpenBSD__
+#include <sys/resource.h>
+#endif
+
 #ifdef _DEBUG
 #define new DEBUG_NEW
 #undef THIS_FILE
@@ -651,7 +655,7 @@ int running_server(char *szName, char *szConfig)
 		{ "mysql_config_file",			"/etc/zarafa/my.cnf" },
 #endif
 		{ "attachment_storage",			"database" },
-		{ "attachment_path",			"/var/lib/zarafa" },
+		{ "attachment_path",			"/var/db/zarafa" },
 		{ "attachment_compression",		"6" },
 
 		// Log options
