egl-fbdev: Fix compile-error by including errno.h
PATCH 1/1 egl-fbdev: Fix compile-error by including errno.h
We use errno and EINVAL so include errno.h.
--- src/gallium/state_trackers/egl/fbdev/native_fbdev.c | 1 + 1 file changed, 1 insertion(+)
src/gallium/state_trackers/egl/fbdev/native_fbdev.c +1 -0
@@ -41,6 +41,7 @@* - no pixmap support */ +#include <errno.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h>
Signature · 1 line
1.7.10
PATCH RESEND 1/1 egl-fbdev: Fix compile-error by including errno.h
Hi Dave
You applied the following patch which breaks fbdev-egl backend:
It doesn't compile anymore. I appended the correct fix below. I also CC'ed mesa-dev and the people who reviewed the original patch this time as I have no idea who I need to send this to.
Thanks
David
**********************************************
egl-fbdev: Fix compile-error by including errno.h
We use errno and EINVAL so include errno.h.
---
src/gallium/state_trackers/egl/fbdev/native_fbdev.c | 1 +
1 file changed, 1 insertion(+)
(quoted diff) +0 -0
b/src/gallium/state_trackers/egl/fbdev/native_fbdev.c index b45ab5c..b17a8ce 100644
src/gallium/state_trackers/egl/fbdev/native_fbdev.c +0 -0
@@ -41,6 +41,7 @@
* - no pixmap support
*/
+#include <errno.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <sys/stat.h>
--
1.7.10