diff --git a/src/libs/tools.h b/src/libs/tools.h index af45858..b4f1be9 100644 --- a/src/libs/tools.h +++ b/src/libs/tools.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include #include @@ -37,6 +38,15 @@ #include +#ifdef NDEBUG +# error WTF dude? Asserts are good things! +#endif + +#if CHAR_BIT != 8 +# error There are not 8 bits in a char! +#endif + + #define RN "\r\n" #define INLINE inline __attribute__((always_inline)) diff --git a/src/ustreamer/main.c b/src/ustreamer/main.c index 0c18a8b..1039194 100644 --- a/src/ustreamer/main.c +++ b/src/ustreamer/main.c @@ -20,16 +20,6 @@ *****************************************************************************/ -#include -#ifdef NDEBUG -# error WTF dude? Asserts are good things! -#endif - -#include -#if CHAR_BIT != 8 -# error There are not 8 bits in a char! -#endif - #include #include #include