From 758506fbc55e7a5fbd0bbd8cdfff4b73902f014a Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E8=AB=8F=E8=A8=AA=E5=AD=90?= Date: Mon, 23 Sep 2024 23:29:19 +0900 Subject: [PATCH] =?utf8?q?=E3=81=94=E3=82=81=E3=82=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/otppass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/otppass.c b/src/otppass.c index 4d15eb2..741af04 100644 --- a/src/otppass.c +++ b/src/otppass.c @@ -64,7 +64,7 @@ unsigned char *extract_secret(const char *otpauth_url, size_t *decoded_len) { return secret_decoded; } -#if defined(__HAIKU__) +#if defined(__HAIKU__) || defined(__linux) uint64_t htobe64(uint64_t counter) { uint64_t res = 0; uint8_t *dest = (uint8_t *)&res; -- 2.43.0