commit 7cb2f445e6ef38a8593348966182f609e7fab6f6 Author: Carlo Marcelo Arenas Belon Date: Sun Dec 23 13:42:01 2007 -0800 Fix compilation error when not using DRI This patch complements 88f8b688e2316ae4a1f7485f0010ce90de54783a which added uint64_t typed variables to avoid unsigned long overflows in 32-bit architectures but didn't include with the required definition. when XF86DRI and _XF86DRI_SERVER_ are defined this header gets indirectly included through "i830_dri.h", thanks to "i830_common.h" which masquerades this problem as released in 2.1.0 and that manifests with : In file included from i810_driver.c:88: i830.h:137: error: expected specifier-qualifier-list before 'uint64_t' i830.h:240: error: expected specifier-qualifier-list before 'uint64_t' Signed-off-by: Carlo Marcelo Arenas Belon diff --git a/src/i830.h b/src/i830.h index fe4d6c5..dcb87cc 100644 --- a/src/i830.h +++ b/src/i830.h @@ -40,6 +40,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define I830DEBUG #endif +#include + #ifndef REMAP_RESERVED #define REMAP_RESERVED 0 #endif