Mesa (master): pipe-loader: Fix build

Emil Velikov evelikov at kemper.freedesktop.org
Sun Jan 19 15:19:14 UTC 2014


Module: Mesa
Branch: master
Commit: ad3c99e22a688b7c3f15894aabbedcc5cd89230b
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=ad3c99e22a688b7c3f15894aabbedcc5cd89230b

Author: Armin K <krejzi at email.com>
Date:   Sun Jan 19 15:09:33 2014 +0100

pipe-loader: Fix build

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 at gmail.com>

---

 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"
 




More information about the mesa-commit mailing list