diff --git a/sway/swaynag.c b/sway/swaynag.c index f537080765..d905db2b87 100644 --- a/sway/swaynag.c +++ b/sway/swaynag.c @@ -1,3 +1,4 @@ +#define _POSIX_C_SOURCE 200809L #include #include #include diff --git a/swaynag/swaynag.c b/swaynag/swaynag.c index 893f41e443..3764071e28 100644 --- a/swaynag/swaynag.c +++ b/swaynag/swaynag.c @@ -3,6 +3,7 @@ #include #include #include +#include #include #include #include "log.h"