On 02/ 5/14 02:05 PM, Peter Hutterer wrote:
--- a/os/connection.c
+++ b/os/connection.c
@@ -117,7 +117,6 @@ SOFTWARE.

  #ifdef XSERVER_DTRACE
  #include <sys/types.h>
-typedef const char *string;

Sorry, but we need it on Solaris at least, since the dix/Xserver-dtrace.h
generated by the dtrace command during the build refers to the string type.

We could wrap it in #ifdef __sun I guess, if that helps.  (Apple seems to
already have #define for it in dix/Xserver.d, not sure if BSD needs it or
not.)

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to