aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-07-28 10:24:04 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-07-28 22:40:43 +1000
commita4bcddcfdc67ef64edf3737342a99c4e41cae6d4 (patch)
treede7c45a65bafac8e4c958e0429edbe94cf9b3a61 /sway
parentd6daf10cad540f7581e9a325a041333d1113cae5 (diff)
Include errno.h
Diffstat (limited to 'sway')
-rw-r--r--sway/desktop/transaction.c1
-rw-r--r--sway/input/seat.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/transaction.c b/sway/desktop/transaction.c
index 17e3f467..7975366e 100644
--- a/sway/desktop/transaction.c
+++ b/sway/desktop/transaction.c
@@ -1,4 +1,5 @@
#define _POSIX_C_SOURCE 200809L
+#include <errno.h>
#include <stdbool.h>
#include <stdlib.h>
#include <string.h>
diff --git a/sway/input/seat.c b/sway/input/seat.c
index ce2e0936..b783a84f 100644
--- a/sway/input/seat.c
+++ b/sway/input/seat.c
@@ -1,6 +1,7 @@
#define _XOPEN_SOURCE 700
#define _POSIX_C_SOURCE 199309L
#include <assert.h>
+#include <errno.h>
#ifdef __linux__
#include <linux/input-event-codes.h>
#elif __FreeBSD__