[Mesa-dev] [PATCH] pipe-loader: Fix build

Armin K krejzi at email.com
Sun Jan 19 06:09:33 PST 2014


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]
---
 src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
index d70a428..d6869fd 100644
--- a/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
+++ b/src/gallium/auxiliary/pipe-loader/pipe_loader_drm.c
@@ -41,6 +41,7 @@
 
 #endif
 
+#include "loader.h"
 #include "state_tracker/drm_driver.h"
 #include "pipe_loader_priv.h"
 
-- 
1.8.5.3



More information about the mesa-dev mailing list