diff --git a/include/sys/param.h b/include/sys/param.h index 68ff8c172c2a9e174b9e94c8337b5ede112fdbe1..c8b03e7558061483c02ce444f9cbc1d19cb6cac1 100644 --- a/include/sys/param.h +++ b/include/sys/param.h @@ -31,4 +31,18 @@ #include <sys/resource.h> #include <limits.h> +/* TODO: Forcing little endian, if you need a big endian system, fix this { */ +#ifndef BIG_ENDIAN +#define BIG_ENDIAN 4321 +#endif + +#ifndef LITTLE_ENDIAN +#define LITTLE_ENDIAN 1234 +#endif + +#ifndef BYTE_ORDER +#define BYTE_ORDER LITTLE_ENDIAN +#endif +/* } */ + #endif