diff --git a/src/lib/linux.c b/src/lib/linux.c index 256cc957e9..fb8c8b4b57 100644 --- a/src/lib/linux.c +++ b/src/lib/linux.c @@ -1,15 +1,6 @@ #include "linux.h" #include "internal.h" -#ifdef __linux__ -#include -#include -#include -#include -#include -#include -#include - int fbcon_wipe(sprixel* s, int ycell, int xcell){ (void)s; (void)ycell; @@ -101,6 +92,15 @@ int fbcon_draw(const struct ncpile *p, sprixel* s, FILE* out, int y, int x){ return 0; } +#ifdef __linux__ +#include +#include +#include +#include +#include +#include +#include + // each row is a contiguous set of bits, starting at the msb static inline size_t row_bytes(const struct console_font_op* cfo){