diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-03-24 18:59:05 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-03-25 10:38:26 +0900 |
commit | 912db5fbbc6b9b1121c8a03168cb4bd870474376 (patch) | |
tree | 9f12ef456e38f5f65d5c7fea12b259ca80cf5b8b /src/amdgpu_list.h | |
parent | 3fb6280ab3b104b02841c7cab8ed68c1d463c834 (diff) |
Fix build against older versions of xserver
Also slightly clean up the error handling in amdgpu_scanout_do_update.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=94614
(Ported from radeon commit bde466e5d44cad64b4e4eceaa5de80fdbf86356e)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_list.h')
-rw-r--r-- | src/amdgpu_list.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amdgpu_list.h b/src/amdgpu_list.h index c1e3516..a2b1d3c 100644 --- a/src/amdgpu_list.h +++ b/src/amdgpu_list.h @@ -30,6 +30,7 @@ #if !HAVE_XORG_LIST #define xorg_list list #define xorg_list_init list_init +#define xorg_list_is_empty list_is_empty #define xorg_list_add list_add #define xorg_list_del list_del #define xorg_list_for_each_entry list_for_each_entry |