diff options
author | 2017-03-13 07:35:12 -0400 | |
---|---|---|
committer | 2017-03-13 07:35:12 -0400 | |
commit | b507462d1c66e11cce76e069a508621dc9599f07 (patch) | |
tree | 52cc52fb0ec42085c37bee5f4f2e5c5f10cf2631 /swaybar | |
parent | deprecate new_window and new_float commands (diff) | |
parent | Merge pull request #1113 from johnchen902/patch-1 (diff) | |
download | sway-b507462d1c66e11cce76e069a508621dc9599f07.tar.gz sway-b507462d1c66e11cce76e069a508621dc9599f07.tar.zst sway-b507462d1c66e11cce76e069a508621dc9599f07.zip |
Merge branch 'master' of git://github.com/SirCmpwn/sway into new-command-aliases
Diffstat (limited to 'swaybar')
-rw-r--r-- | swaybar/bar.c | 2 | ||||
-rw-r--r-- | swaybar/config.c | 2 | ||||
-rw-r--r-- | swaybar/ipc.c | 2 | ||||
-rw-r--r-- | swaybar/main.c | 1 | ||||
-rw-r--r-- | swaybar/status_line.c | 1 |
5 files changed, 7 insertions, 1 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c index 7ec3e0ea..abde1cc9 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c | |||
@@ -1,9 +1,11 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
1 | #include <stdlib.h> | 2 | #include <stdlib.h> |
2 | #include <unistd.h> | 3 | #include <unistd.h> |
3 | #include <string.h> | 4 | #include <string.h> |
4 | #include <fcntl.h> | 5 | #include <fcntl.h> |
5 | #include <errno.h> | 6 | #include <errno.h> |
6 | #include <sys/wait.h> | 7 | #include <sys/wait.h> |
8 | #include <signal.h> | ||
7 | #include <poll.h> | 9 | #include <poll.h> |
8 | #include "swaybar/ipc.h" | 10 | #include "swaybar/ipc.h" |
9 | #include "swaybar/render.h" | 11 | #include "swaybar/render.h" |
diff --git a/swaybar/config.c b/swaybar/config.c index 7959b1ca..1d802022 100644 --- a/swaybar/config.c +++ b/swaybar/config.c | |||
@@ -1,6 +1,6 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
1 | #include <stdlib.h> | 2 | #include <stdlib.h> |
2 | #include <string.h> | 3 | #include <string.h> |
3 | |||
4 | #include "wayland-desktop-shell-client-protocol.h" | 4 | #include "wayland-desktop-shell-client-protocol.h" |
5 | #include "log.h" | 5 | #include "log.h" |
6 | #include "swaybar/config.h" | 6 | #include "swaybar/config.h" |
diff --git a/swaybar/ipc.c b/swaybar/ipc.c index f2da7392..b08eeea8 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c | |||
@@ -1,4 +1,6 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
1 | #include <string.h> | 2 | #include <string.h> |
3 | #include <strings.h> | ||
2 | #include <json-c/json.h> | 4 | #include <json-c/json.h> |
3 | #include "swaybar/config.h" | 5 | #include "swaybar/config.h" |
4 | #include "swaybar/ipc.h" | 6 | #include "swaybar/ipc.h" |
diff --git a/swaybar/main.c b/swaybar/main.c index c9a554a3..a2168743 100644 --- a/swaybar/main.c +++ b/swaybar/main.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
1 | #include <stdio.h> | 2 | #include <stdio.h> |
2 | #include <stdlib.h> | 3 | #include <stdlib.h> |
3 | #include <string.h> | 4 | #include <string.h> |
diff --git a/swaybar/status_line.c b/swaybar/status_line.c index c7055d4c..83e8ce2c 100644 --- a/swaybar/status_line.c +++ b/swaybar/status_line.c | |||
@@ -1,3 +1,4 @@ | |||
1 | #define _XOPEN_SOURCE 500 | ||
1 | #include <stdlib.h> | 2 | #include <stdlib.h> |
2 | #include <string.h> | 3 | #include <string.h> |
3 | #include <unistd.h> | 4 | #include <unistd.h> |