diff --git a/src/common.cpp b/src/common.cpp index af86e9faa..7dad9f72d 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -34,12 +34,6 @@ #include #endif -#ifdef __BSD__ -#include -#elif defined(__APPLE__) -#include -#endif - #include #include #include // IWYU pragma: keep @@ -61,6 +55,13 @@ #include "wildcard.h" #include "wutil.h" // IWYU pragma: keep +// Keep after "common.h" +#ifdef __BSD__ +#include +#elif defined(__APPLE__) +#include +#endif + struct termios shell_modes; /// This allows us to notice when we've forked.