diff -u -d -r1.1.4.1 -r1.1.4.2 --- xf86cmap.c 26 Nov 2003 22:48:58 -0000 1.1.4.1 +++ xf86cmap.c 16 Feb 2004 20:19:59 -0000 1.1.4.2 @@ -1,3 +1,4 @@ +/* $XdotOrg$ */ /* $XFree86: xc/programs/Xserver/hw/xfree86/common/xf86cmap.c,v 1.25 2003/10/17 20:02:12 alanh Exp $ */ /* * Copyright (c) 1998-2001 by The XFree86 Project, Inc. @@ -26,7 +27,8 @@ * authorization from the copyright holder(s) and author(s). */ -#if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) +#if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) \ + || (defined(sun) && defined(__SVR4)) #include #else #define _XOPEN_SOURCE /* to get prototype for pow on some systems */ diff -u -d -r1.1.4.3 -r1.1.4.4 --- miarc.c 20 Dec 2003 00:28:31 -0000 1.1.4.3 +++ miarc.c 16 Feb 2004 20:19:58 -0000 1.1.4.4 @@ -50,7 +50,8 @@ /* Author: Keith Packard and Bob Scheifler */ /* Warning: this code is toxic, do not dally very long here. */ -#if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) +#if defined(_XOPEN_SOURCE) || defined(__QNXNTO__) \ + || (defined(sun) && defined(__SVR4)) #include #else #define _XOPEN_SOURCE /* to get prototype for hypot on some systems */