diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-04-26 13:20:36 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2013-04-26 13:22:01 +0100 |
commit | 7dfb359677027310f4617b49f3da2321727a076f (patch) | |
tree | 6c4d34c80d11aefa15eb387da356308d4108a019 | |
parent | 8eaafdb43998b5cdefb20b8098c558fa5decb115 (diff) |
uxa/dri: Fix compile error for unknown 'bool'
It appears that it is only accidentally pulled in on some systems, but
not all.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=63957
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | src/intel_dri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel_dri.c b/src/intel_dri.c index 0df99120..03700343 100644 --- a/src/intel_dri.c +++ b/src/intel_dri.c @@ -1523,7 +1523,7 @@ out_complete: static int dri2_server_generation; #endif -static bool has_i830_dri(void) +static int has_i830_dri(void) { return access(DRI_DRIVER_PATH "/i830_dri.so", R_OK) == 0; } |