aboutsummaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/layout.c b/sway/layout.c
index e196ebd3..473b74f7 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -1,3 +1,4 @@
+#define _XOPEN_SOURCE 500
#include <stdlib.h>
#include <stdbool.h>
#include <math.h>