From cc16948c8598e8b9aa98506dcdad66967dc28712 Mon Sep 17 00:00:00 2001 From: sghctoma Date: Thu, 30 Aug 2018 09:29:05 +0200 Subject: Fix feature macros for FreeBSD On FreeBSD, snprintf and vsnprintf are visible only if _XOPEN_SOURCE >= 600. --- sway/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/commands.c') diff --git a/sway/commands.c b/sway/commands.c index d9c54adc..f321a874 100644 --- a/sway/commands.c +++ b/sway/commands.c @@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 500 +#define _XOPEN_SOURCE 600 #include #include #include -- cgit v1.2.3