aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/zoo/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/zoo/files/patch-aa')
-rw-r--r--archivers/zoo/files/patch-aa6
1 files changed, 3 insertions, 3 deletions
diff --git a/archivers/zoo/files/patch-aa b/archivers/zoo/files/patch-aa
index c11c21587df6..a86541950df0 100644
--- a/archivers/zoo/files/patch-aa
+++ b/archivers/zoo/files/patch-aa
@@ -17,7 +17,7 @@
! long gettz(t)
! long t;
{
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ return -localtime(&t)->tm_gmtoff;
+ #else
#define SEC_IN_DAY (24L * 60L * 60L)
@@ -54,7 +54,7 @@
/* Standard UNIX-specific file attribute routines */
#include "nixmode.i"
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ #include <unistd.h>
+ #else
#ifndef SEEK_CUR
@@ -222,7 +222,7 @@
/* uchar should be 8 bits or more */
/* typedef unsigned char uchar; -- already in zoo.h */
-+ #ifndef __FreeBSD__
++ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
typedef unsigned int uint; /* 16 bits or more */
#if !defined(__386BSD__) || !defined(_TYPES_H_)
typedef unsigned short ushort; /* 16 bits or more */