diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-28 10:24:04 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-28 22:40:43 +1000 |
commit | a4bcddcfdc67ef64edf3737342a99c4e41cae6d4 (patch) | |
tree | de7c45a65bafac8e4c958e0429edbe94cf9b3a61 /sway | |
parent | Show errno description in log (diff) | |
download | sway-a4bcddcfdc67ef64edf3737342a99c4e41cae6d4.tar.gz sway-a4bcddcfdc67ef64edf3737342a99c4e41cae6d4.tar.zst sway-a4bcddcfdc67ef64edf3737342a99c4e41cae6d4.zip |
Include errno.h
Diffstat (limited to 'sway')
-rw-r--r-- | sway/desktop/transaction.c | 1 | ||||
-rw-r--r-- | sway/input/seat.c | 1 |
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 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | 1 | #define _POSIX_C_SOURCE 200809L |
2 | #include <errno.h> | ||
2 | #include <stdbool.h> | 3 | #include <stdbool.h> |
3 | #include <stdlib.h> | 4 | #include <stdlib.h> |
4 | #include <string.h> | 5 | #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 @@ | |||
1 | #define _XOPEN_SOURCE 700 | 1 | #define _XOPEN_SOURCE 700 |
2 | #define _POSIX_C_SOURCE 199309L | 2 | #define _POSIX_C_SOURCE 199309L |
3 | #include <assert.h> | 3 | #include <assert.h> |
4 | #include <errno.h> | ||
4 | #ifdef __linux__ | 5 | #ifdef __linux__ |
5 | #include <linux/input-event-codes.h> | 6 | #include <linux/input-event-codes.h> |
6 | #elif __FreeBSD__ | 7 | #elif __FreeBSD__ |