commit: 4e2dfee79e9a103bfe9f3b2db34711e49817b9b7
parent 7c48279d211f2d7362c627b954b22f514a90b418
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 13 Sep 2017 10:46:20 -0700
swc: Define _POSIX_C_SOURCE for convert_font
This is built on the host system, and recent glibc requires this for
strdup.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkg/swc/gen.rc b/pkg/swc/gen.rc
@@ -27,7 +27,7 @@ build '$outdir'/wayland-drm-server-protocol.h copy '$builddir'/pkg/wld/protocol/
{
toolchain host
- cflags '-std=c99'
+ cflags '-std=c99' -D '_POSIX_C_SOURCE=200809L'
exe convert_font cursor/convert_font.c
} >tools.ninja ; subninja tools.ninja