pipe-loader: Fix build
authorArmin K <krejzi@email.com>
Sun, 19 Jan 2014 14:09:33 +0000 (15:09 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sun, 19 Jan 2014 15:20:58 +0000 (15:20 +0000)
pipe_loader_drm.c: In function 'pipe_loader_drm_probe_fd':
pipe_loader_drm.c:120:4: error: implicit declaration of function 'loader_get_pci_id_for_fd' [-Werror=implicit-function-declaration]

Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c

index d70a428b910a50e9e4eef43b2d52a220fe286c4e..d6869fda65da5d38ba6b4fef507b12eebdfa810f 100644 (file)
@@ -41,6 +41,7 @@
 
 #endif
 
+#include "loader.h"
 #include "state_tracker/drm_driver.h"
 #include "pipe_loader_priv.h"