aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-03 22:03:48 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-04 18:47:49 -0400
commit053b51c3ff63147aed25400efb42c00ee3de90b9 (patch)
treefe29e1a3c1923dddbbcf82a527e8a90c75947557
parentImport stdlib.h and define POSIX macro for rand() (diff)
downloadsway-053b51c3ff63147aed25400efb42c00ee3de90b9.tar.gz
sway-053b51c3ff63147aed25400efb42c00ee3de90b9.tar.zst
sway-053b51c3ff63147aed25400efb42c00ee3de90b9.zip
exit() needs stdlib.h
inb4 acrisci
-rw-r--r--swaylock/seat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/swaylock/seat.c b/swaylock/seat.c
index 6c46bb41..21db7c4f 100644
--- a/swaylock/seat.c
+++ b/swaylock/seat.c
@@ -1,4 +1,5 @@
1#include <assert.h> 1#include <assert.h>
2#include <stdlib.h>
2#include <sys/mman.h> 3#include <sys/mman.h>
3#include <unistd.h> 4#include <unistd.h>
4#include <wlr/util/log.h> 5#include <wlr/util/log.h>