sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 218a3787d26296103225b7680bacdfd5fc6d2955
parent 0138f79b4aae563e1223737856ab44c8634c76b0
Author: Drew DeVault <sir@cmpwn.com>
Date:   Tue,  3 Apr 2018 22:01:29 -0400

Import stdlib.h and define POSIX macro for rand()

Diffstat:
Mswaylock/render.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/swaylock/render.c b/swaylock/render.c @@ -1,5 +1,7 @@ -#include <wayland-client.h> +#define _POSIX_C_SOURCE 199506L #include <math.h> +#include <stdlib.h> +#include <wayland-client.h> #include "cairo.h" #include "background-image.h" #include "swaylock/swaylock.h"