# HG changeset patch # User Olaf Wintermann # Date 1664091219 -7200 # Node ID f5caf41b4db656b91903b23eb2e8a8f3f40fa9b9 # Parent b91f8efadb6337f61de6c8addeeebd100279fba6 fix build on non-freebsd systems diff -r b91f8efadb63 -r f5caf41b4db6 src/server/plugins/postgresql/vfs.c --- a/src/server/plugins/postgresql/vfs.c Sat Sep 24 17:11:57 2022 +0200 +++ b/src/server/plugins/postgresql/vfs.c Sun Sep 25 09:33:39 2022 +0200 @@ -965,7 +965,7 @@ #ifdef __FreeBSD__ return timelocal(&tm); #else - return mktime(&tparts) - timezone; + return mktime(&tm) - timezone; #endif }