diff --git a/plugins/wdc/wdc-utils.c b/plugins/wdc/wdc-utils.c index 1b52e7c04a..3b1f325f9e 100644 --- a/plugins/wdc/wdc-utils.c +++ b/plugins/wdc/wdc-utils.c @@ -81,7 +81,7 @@ int wdc_UtilsGetTime(PUtilsTimeInfo timeInfo) timeInfo->second = currTimeInfo.tm_sec; timeInfo->msecs = 0; timeInfo->isDST = currTimeInfo.tm_isdst; -#if defined(__GLIBC__) && !defined(__UCLIBC__) && !defined(__MUSL__) +#if (defined(__GLIBC__) && !defined(__UCLIBC__) && !defined(__MUSL__)) || defined(__FreeBSD__) timeInfo->zone = -currTimeInfo.tm_gmtoff / 60; #else timeInfo->zone = -1 * (timezone / SECONDS_IN_MIN);