diff --git a/sway/commands/bind.c b/sway/commands/bind.c index 7994ab2f7..4fceaf8ce 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c @@ -1,10 +1,6 @@ #define _POSIX_C_SOURCE 200809L #include -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include #include diff --git a/sway/commands/seat/cursor.c b/sway/commands/seat/cursor.c index b47285435..1fbc68a1d 100644 --- a/sway/commands/seat/cursor.c +++ b/sway/commands/seat/cursor.c @@ -1,9 +1,5 @@ #define _POSIX_C_SOURCE 200809L -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include diff --git a/sway/config.c b/sway/config.c index dfbe4cb96..f99f043c4 100644 --- a/sway/config.c +++ b/sway/config.c @@ -13,11 +13,7 @@ #include #include #include -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include "sway/input/input-manager.h" #include "sway/input/seat.h" diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 510030ae0..96feb47d0 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -1,11 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include #include -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include #include diff --git a/sway/input/seat.c b/sway/input/seat.c index 41a3a4dfd..a8df5b99b 100644 --- a/sway/input/seat.c +++ b/sway/input/seat.c @@ -1,11 +1,7 @@ #define _POSIX_C_SOURCE 200809L #include #include -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include #include diff --git a/sway/ipc-server.c b/sway/ipc-server.c index 28546d41e..456db866c 100644 --- a/sway/ipc-server.c +++ b/sway/ipc-server.c @@ -1,10 +1,6 @@ // See https://i3wm.org/docs/ipc.html for protocol information #define _POSIX_C_SOURCE 200112L -#ifdef __linux__ #include -#elif __FreeBSD__ -#include -#endif #include #include #include diff --git a/swaybar/input.c b/swaybar/input.c index 7d219be31..620da977a 100644 --- a/swaybar/input.c +++ b/swaybar/input.c @@ -1,9 +1,5 @@ #include -#ifdef __FreeBSD__ -#include -#else #include -#endif #include #include #include