aboutsummaryrefslogtreecommitdiff
path: root/render/allocator/gbm.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/allocator/gbm.c')
-rw-r--r--render/allocator/gbm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/allocator/gbm.c b/render/allocator/gbm.c
index a41065b5..149ff6b9 100644
--- a/render/allocator/gbm.c
+++ b/render/allocator/gbm.c
@@ -41,7 +41,7 @@ static bool export_gbm_bo(struct gbm_bo *bo,
int i;
int32_t handle = -1;
for (i = 0; i < attribs.n_planes; ++i) {
-#if HAS_GBM_BO_GET_FD_FOR_PLANE
+#if HAVE_GBM_BO_GET_FD_FOR_PLANE
(void)handle;
attribs.fd[i] = gbm_bo_get_fd_for_plane(bo, i);