From 8f3fac2c9f8966199e218813c06ce965012e5273 Mon Sep 17 00:00:00 2001 From: Rafael Sadowski Date: Sun, 4 Oct 2020 20:30:11 +0200 Subject: [PATCH] fix off64_t under OpenBSD --- libgrive/src/util/OS.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libgrive/src/util/OS.hh b/libgrive/src/util/OS.hh index bd28e30..8240420 100644 --- a/libgrive/src/util/OS.hh +++ b/libgrive/src/util/OS.hh @@ -31,6 +31,10 @@ class Path ; enum FileType { FT_FILE = 1, FT_DIR = 2, FT_UNKNOWN = 3 } ; +#ifdef __OpenBSD__ +#define off64_t off_t +#endif + namespace os { struct Error : virtual Exception {} ;