summaryrefslogtreecommitdiff
path: root/LinBPQ.c
diff options
context:
space:
mode:
authorDave Hibberd <hibby@debian.org>2025-07-22 20:57:03 +0100
committerDave Hibberd <hibby@debian.org>2025-07-22 20:57:03 +0100
commit1cc87cf7663179e46d40e316276f2604bc8a7872 (patch)
tree3f2080524be7d2b41616b758bd65d4745a055e79 /LinBPQ.c
parent30b1e26a04be2474ebda4cac931831dabb89eb74 (diff)
parent1f40ff4a07793ecfa679a1384053451c4f3f536f (diff)
Update upstream source from tag 'upstream/6.0.24.77+repack'
Update to upstream version '6.0.24.77+repack' with Debian dir bbbd57413e9e0c750630f2d175419335251e159d
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