diff options
author | sghctoma <sghctoma@gmail.com> | 2018-08-30 09:29:05 +0200 |
---|---|---|
committer | sghctoma <sghctoma@gmail.com> | 2018-08-30 09:34:26 +0200 |
commit | cc16948c8598e8b9aa98506dcdad66967dc28712 (patch) | |
tree | e06909895e67689e68ea4b76e14413dd9c291d29 /client/pool-buffer.c | |
parent | Merge pull request #2537 from ianyfan/commands (diff) | |
download | sway-cc16948c8598e8b9aa98506dcdad66967dc28712.tar.gz sway-cc16948c8598e8b9aa98506dcdad66967dc28712.tar.zst sway-cc16948c8598e8b9aa98506dcdad66967dc28712.zip |
Fix feature macros for FreeBSD
On FreeBSD, snprintf and vsnprintf are visible only if
_XOPEN_SOURCE >= 600.
Diffstat (limited to 'client/pool-buffer.c')
-rw-r--r-- | client/pool-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/pool-buffer.c b/client/pool-buffer.c index fa468c0d..6555a3ae 100644 --- a/client/pool-buffer.c +++ b/client/pool-buffer.c | |||
@@ -1,4 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | 1 | #define _XOPEN_SOURCE 600 |
2 | #include <assert.h> | 2 | #include <assert.h> |
3 | #include <cairo/cairo.h> | 3 | #include <cairo/cairo.h> |
4 | #include <fcntl.h> | 4 | #include <fcntl.h> |