From 08a6f4735daa2ed257d98b99cb7c34615e7784cc Mon Sep 17 00:00:00 2001 From: KonAki Date: Wed, 7 Oct 2026 19:07:19 +0800 Subject: Guard _POSIX_C_SOURCE in kontime.h --- kon/kontime.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kon/kontime.h b/kon/kontime.h index da46ddd..429c245 100644 --- a/kon/kontime.h +++ b/kon/kontime.h @@ -40,7 +40,9 @@ void kon_sleep(kon_time seconds); #if defined(__linux__) || defined(__unix__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) +#ifndef _POSIX_C_SOURCE #define _POSIX_C_SOURCE 200809L +#endif #include kon_time kon_getTime(void) { -- cgit