From 3e16aeb94538d20f40e54366e8f9fe3a0e22b56c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Vulquin?= Date: Sat, 9 Mar 2024 18:52:42 +0100 Subject: fix build failure caused by GNU --- src/compat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/compat.h b/src/compat.h index a13c3ed..2c33ccd 100644 --- a/src/compat.h +++ b/src/compat.h @@ -1,10 +1,11 @@ #pragma once -#include // GNU-ish systems require this to expose tm_gmtoff and tm_zone // this is important because of how we detect their existence #define _GNU_SOURCE 1 +#include + // timegm #ifdef _MSC_VER #define timegm _mkgmtime -- cgit v1.2.3