1 --- storage/innobase/include/srv0mon.h.orig 2025-03-31 07:51:10 UTC 2 +++ storage/innobase/include/srv0mon.h 3 @@ -41,6 +41,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 4 /* Required for FreeBSD so that INT64_MAX is defined. */ 5 #define __STDC_LIMIT_MACROS 6 #endif /* __STDC_LIMIT_MACROS */ 7 +#ifdef __DragonFly__ 8 +/* The hack above doen't work for dragonfly, stdint.h already imported */ 9 +#include <machine/int_limits.h> 10 +#endif 11 12 #include <stdint.h> 13 #include <bitset> 14