diff --git a/include/util/command.hpp b/include/util/command.hpp index fe0543d2..0d729b77 100644 --- a/include/util/command.hpp +++ b/include/util/command.hpp @@ -1,10 +1,10 @@ #pragma once +#include #include #include #include #include -#include #ifdef __linux__ #include diff --git a/src/modules/network.cpp b/src/modules/network.cpp index ef8b2bd4..5eef1661 100644 --- a/src/modules/network.cpp +++ b/src/modules/network.cpp @@ -188,7 +188,7 @@ void waybar::modules::Network::createEventSocket() { throw std::runtime_error("Can't create epoll"); } { - ev_fd_ = eventfd(0, EFD_NONBLOCK|EFD_CLOEXEC); + ev_fd_ = eventfd(0, EFD_NONBLOCK | EFD_CLOEXEC); struct epoll_event event; memset(&event, 0, sizeof(event)); event.events = EPOLLIN | EPOLLET;