Fix macOS build
All checks were successful
Alpine 3.20 Success
Arch Linux AUR Success

This commit is contained in:
Přemysl Eric Janouch 2024-12-04 18:10:35 +01:00
parent 2fe846f09f
commit 661dc85d45
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -16,8 +16,10 @@
*
*/
// getpwnam_r
#define _POSIX_C_SOURCE 199506L
// getpwnam_r, _SC_GETPW_R_SIZE_MAX
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 200112L
#endif
#include <glib.h>
#include <glib/gprintf.h>