* [PATCH] egl-fbdev: Fix compile-error by including errno.h
@ 2012-04-14 15:02 David Herrmann
2012-04-22 20:05 ` [PATCH RESEND] " David Herrmann
0 siblings, 1 reply; 2+ messages in thread
From: David Herrmann @ 2012-04-14 15:02 UTC (permalink / raw)
To: dri-devel; +Cc: Chia-I Wu
We use errno and EINVAL so include errno.h.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
---
src/gallium/state_trackers/egl/fbdev/native_fbdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/egl/fbdev/native_fbdev.c b/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
index b45ab5c..b17a8ce 100644
--- a/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
+++ b/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH RESEND] egl-fbdev: Fix compile-error by including errno.h
2012-04-14 15:02 [PATCH] egl-fbdev: Fix compile-error by including errno.h David Herrmann
@ 2012-04-22 20:05 ` David Herrmann
0 siblings, 0 replies; 2+ messages in thread
From: David Herrmann @ 2012-04-22 20:05 UTC (permalink / raw)
To: mesa-dev; +Cc: David Fries, dri-devel, Dave Airlie, Chia-I Wu
Hi Dave
You applied the following patch which breaks fbdev-egl backend:
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/egl/fbdev/native_fbdev.c?id=b60120608f6ddf4098bc324363197c979ee04cb7
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.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
---
src/gallium/state_trackers/egl/fbdev/native_fbdev.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
b/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
index b45ab5c..b17a8ce 100644
--- a/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
+++ b/src/gallium/state_trackers/egl/fbdev/native_fbdev.c
@@ -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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-04-22 20:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-14 15:02 [PATCH] egl-fbdev: Fix compile-error by including errno.h David Herrmann
2012-04-22 20:05 ` [PATCH RESEND] " David Herrmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.