summaryrefslogtreecommitdiffstats
path: root/src/loader/pci_id_driver_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/pci_id_driver_map.c')
-rw-r--r--src/loader/pci_id_driver_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader/pci_id_driver_map.c b/src/loader/pci_id_driver_map.c
index cb6f705acbd..3c4657fd014 100644
--- a/src/loader/pci_id_driver_map.c
+++ b/src/loader/pci_id_driver_map.c
@@ -23,7 +23,7 @@
int is_nouveau_vieux(int fd);
-#ifndef __NOT_HAVE_DRM_H
+#ifdef HAVE_LIBDRM
#include <xf86drm.h>
#include <nouveau_drm.h>