mirror of
https://github.com/swaywm/sway.git
synced 2025-04-04 11:27:47 +03:00
Fix feature macros for FreeBSD
On FreeBSD, snprintf and vsnprintf are visible only if _XOPEN_SOURCE >= 600.
This commit is contained in:
parent
de9e80459a
commit
cc16948c85
6 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
#define _XOPEN_SOURCE 500
|
||||
#define _XOPEN_SOURCE 600
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
#include <strings.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue