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 0138f79b4a
commit 218a3787d2
1 changed files with 3 additions and 1 deletions

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"