diff --git a/xs/src/admesh/stl.h b/xs/src/admesh/stl.h index 517930d496..c2a9f857ea 100644 --- a/xs/src/admesh/stl.h +++ b/xs/src/admesh/stl.h @@ -26,6 +26,11 @@ #include #include #include +#include + +#ifndef BOOST_ENDIAN_LITTLE_BYTE +#error "admesh works correctly on little endian machines only!" +#endif #if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) #include "windows.h"