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

This commit is contained in:
Drew DeVault 2018-04-03 22:01:29 -04:00
parent 2c6703cd41
commit 495fcb627a

View File

@ -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"