diff options
author | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-01-03 11:16:15 -0800 |
---|---|---|
committer | Jesse Barnes <jbarnes@hobbes.virtuousgeek.org> | 2008-01-09 09:54:13 -0800 |
commit | 7ce566c0005d9bb9394f7c730c38210e0ae7f00d (patch) | |
tree | 39e0937ac29793a20029f3f14d267e249d1ce358 | |
parent | c8be857cc93aa9f4bd9315c2b0e5459625ef7a4b (diff) |
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 <stdint.h> 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'
Patch from Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
-rw-r--r-- | src/i830.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -40,6 +40,8 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #define I830DEBUG #endif +#include <stdint.h> + #ifndef REMAP_RESERVED #define REMAP_RESERVED 0 #endif |