From a3577056d407345f5fe98319f712a608beb5b811 Mon Sep 17 00:00:00 2001 From: mccallum Date: Tue, 24 Sep 1996 15:46:11 +0000 Subject: [PATCH] Check HAVE_VALUES_H before trying to include ; use if we don't. (Reported by Gregor Hoffleit .) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1819 72102866-910b-0410-8b05-ffd578937521 --- Source/BinaryCStream.m | 4 ++++ 1 file changed, 4 insertions(+) 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__ */