diff --git a/Makefile.common b/Makefile.common index 887e15090a..2bc3bd4f65 100644 --- a/Makefile.common +++ b/Makefile.common @@ -691,6 +691,8 @@ endif ifeq ($(HAVE_PLAIN_DRM), 1) OBJ += gfx/drivers/drm_gfx.o + CFLAGS += -I/usr/include/drm + LIBS += -ldrm endif ifeq ($(HAVE_GL_CONTEXT), 1)