From fc2f74c95c27f88fa3d9938134d8327fcb186af3 Mon Sep 17 00:00:00 2001 From: Andrew 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__ */