From: Svante Signell Date: Sat, 20 Apr 2024 23:51:00 +0000 (-0700) Subject: Bug#1069094: mariadb: FTBFS on hurd-i386 X-Git-Tag: archive/raspbian/1%11.4.4-3+rpi1^2~7 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=8302ad645531a12e4e686ae627ba889351c954da;p=mariadb.git Bug#1069094: mariadb: FTBFS on hurd-i386 Add Hurd to define __USE_FILE_OFFSET64 et al. Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069094 Forwarded: no Gbp-Pq: Name hurd-i386-storage_connect_ioapi.h.patch --- diff --git a/storage/connect/ioapi.h b/storage/connect/ioapi.h index 94b292ed7..7971717ad 100644 --- a/storage/connect/ioapi.h +++ b/storage/connect/ioapi.h @@ -21,9 +21,10 @@ #ifndef _ZLIBIOAPI64_H #define _ZLIBIOAPI64_H -#if defined(__linux__) +#if defined(__linux__) || defined (__GNU__) - // Linux needs this to support file operation on files larger then 4+GB + // Linux and Hurd needs this to support file operation on files larger + // than 4+GB. // But might need better if/def to select just the platforms that needs them. #ifndef __USE_FILE_OFFSET64