[Xcb-commit] xcb

Eric Anholt anholt at kemper.freedesktop.org
Tue Jul 25 16:28:22 PDT 2006


 xcb/src/xcb.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

New commits:
diff-tree 252f529445c8f2a956992da5f764e18f8b218a81 (from 6ac2cc7df885dc50dc97147f9798d4fc08e4fd94)
Author: Eric Anholt <anholt at FreeBSD.org>
Date:   Tue Jul 25 09:13:59 2006 -0700

    Replace HAVE_* tests with just checking for (__solaris__)
    
    The installed headers can't be relying on the presence of the internal
    config.h defines, and it was breaking the xcb build for me as well due to
    config.h not being included early enough.

diff --git a/xcb/src/xcb.h b/xcb/src/xcb.h
index e19b19d..f720469 100644
--- a/xcb/src/xcb.h
+++ b/xcb/src/xcb.h
@@ -29,10 +29,10 @@
 #define __XCB_H__
 #include <sys/types.h>
 
-#if HAVE_STDINT_H
-#include <stdint.h>
-#elif HAVE_INTTYPES_H
+#if defined(__solaris__)
 #include <inttypes.h>
+#else
+#include <stdint.h>
 #endif
 
 /* FIXME: these names conflict with those defined in Xmd.h. */


More information about the xcb-commit mailing list