Fix macOS build
This commit is contained in:
parent
2fe846f09f
commit
661dc85d45
@ -16,8 +16,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// getpwnam_r
|
// getpwnam_r, _SC_GETPW_R_SIZE_MAX
|
||||||
#define _POSIX_C_SOURCE 199506L
|
#ifndef _POSIX_C_SOURCE
|
||||||
|
#define _POSIX_C_SOURCE 200112L
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
#include <glib/gprintf.h>
|
#include <glib/gprintf.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user