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

master
Drew DeVault 7 years ago
parent 0138f79b4a
commit 218a3787d2

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

Loading…
Cancel
Save