summaryrefslogtreecommitdiff
path: root/LinBPQ.c
diff options
context:
space:
mode:
Diffstat (limited to 'LinBPQ.c')
-rw-r--r--LinBPQ.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/LinBPQ.c b/LinBPQ.c
index 6ba4b1c..689b5f4 100644
--- a/LinBPQ.c
+++ b/LinBPQ.c
@@ -913,7 +913,10 @@ int main(int argc, char * argv[])
Debugprintf("G8BPQ AX25 Packet Switch System Version %s %s", TextVerstring, Datestring);
-#ifndef MACBPQ
+#if defined(MACBPQ) || defined(FREEBSD)
+ time_t dummy;
+ _MYTIMEZONE = -localtime(&dummy)->tm_gmtoff;
+#else
_MYTIMEZONE = _timezone;
#endif