diff options
| author | Michael Forney <mforney@mforney.org> | 2017-09-13 10:46:20 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2017-09-13 10:55:45 -0700 |
| commit | 4e2dfee79e9a103bfe9f3b2db34711e49817b9b7 (patch) | |
| tree | 2a3158078f0cfa4fd4adbed9052c3ce98e208557 | |
| parent | 7c48279d211f2d7362c627b954b22f514a90b418 (diff) | |
swc: Define _POSIX_C_SOURCE for convert_font
This is built on the host system, and recent glibc requires this for
strdup.
| -rw-r--r-- | pkg/swc/gen.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/swc/gen.rc b/pkg/swc/gen.rc index 9f66923b..78a8aaf2 100644 --- 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 |
