diff --git a/include/notcurses/notcurses.h b/include/notcurses/notcurses.h index 517f4113a..c44313fbd 100644 --- a/include/notcurses/notcurses.h +++ b/include/notcurses/notcurses.h @@ -16,18 +16,20 @@ // then reverse that, guaranteeing LE. htole(x) == ltohe(x). #if defined(__linux__) || defined(__gnu_hurd__) #include +#include #define htole(x) (__bswap_32(htonl(x))) #elif defined(__APPLE__) +#include #include #define htole(x) (OSSwapInt32(htonl(x))) #elif defined(__MINGW64__) #include #define htole(x) (bswap32(htonl(x))) #else +#include #include #define htole(x) (bswap32(htonl(x))) #endif -#include #include #include