$OpenBSD: patch-provider_server_ECServer_cpp,v 1.14 2011/06/10 15:55:00 ajacoutot Exp $
--- provider/server/ECServer.cpp.orig	Fri Jun 10 03:37:39 2011
+++ provider/server/ECServer.cpp	Fri Jun 10 13:33:17 2011
@@ -86,6 +86,10 @@
 #include "unicode/uclean.h"
 #endif
 
+#ifdef __OpenBSD__
+#include <sys/resource.h>
+#endif
+
 #ifdef _DEBUG
 #define new DEBUG_NEW
 #undef THIS_FILE
@@ -675,7 +679,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
@@ -746,7 +750,7 @@ int running_server(char *szName, char *szConfig)
 		{ "cache_sortkey_size",		"0", CONFIGSETTING_UNUSED }, // Option not support, only for backward compatibility of all configurations under the 6.20
 
 		{ "client_update_enabled",	"no" },
-		{ "client_update_path",		"/var/lib/zarafa/client", CONFIGSETTING_RELOADABLE },
+		{ "client_update_path",		"/var/db/zarafa/client", CONFIGSETTING_RELOADABLE },
         { "index_services_enabled", "no", CONFIGSETTING_RELOADABLE }, 
         { "index_services_path",    "file:///var/run/zarafa-indexer", CONFIGSETTING_RELOADABLE },        
 		{ "index_services_search_timeout", "10", CONFIGSETTING_RELOADABLE },
