diff --git a/Source/BinaryCStream.m b/Source/BinaryCStream.m index 0fff7402d..4076ff7ae 100644 --- a/Source/BinaryCStream.m +++ b/Source/BinaryCStream.m @@ -30,7 +30,11 @@ #include #include #ifndef __WIN32__ +#if HAVE_VALUES_H #include // This gets BITSPERBYTE on Solaris +#else +#include +#endif #include // for byte-conversion #endif /* !__WIN32__ */