From 4ff085f2a25b560bc77b43c34f42f0192be8631c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 15 Mar 2005 22:19:55 +0100 Subject: [PATCH] Fix for bug#9166: Cluster compile failure on Solaris 10 --- ndb/src/common/util/basestring_vsnprintf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ndb/src/common/util/basestring_vsnprintf.c b/ndb/src/common/util/basestring_vsnprintf.c index 58203e33bd1..f5d01fb1532 100644 --- a/ndb/src/common/util/basestring_vsnprintf.c +++ b/ndb/src/common/util/basestring_vsnprintf.c @@ -14,8 +14,10 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +#ifdef __sgi /* define on IRIX to get posix compliant vsnprintf */ #define _XOPEN_SOURCE 500 +#endif #include #include #include