Skip to contentSkip to conversation

egl-fbdev: Fix compile-error by including errno.h

PATCH RESEND Applied David Herrmann 2 participants 2 messages Apr 29, 2012 – Apr 30, 2012

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 egl-fbdev: Fix compile-error by including errno.h

We use errno and EINVAL so include errno.h.

This patch introduced this bug:
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/egl/fbdev/native_fbdev.c?id=b60120608f6ddf4098bc324363197c979ee04cb7

Cc Chia-I Wu <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Adam Jackson <[email protected]>
Cc Jesse Barnes <[email protected]>

---
I've CC'ed everyone who reviewed/applied the patch that broke fbdev. Hopefully, someone can apply it this time.

 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
index b45ab5c..b17a8ce 100644
@@ -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
#1 lore raw
Quoted 5 lines · David Herrmann

We use errno and EINVAL so include errno.h.

This patch introduced this bug:
http://cgit.freedesktop.org/mesa/mesa/commit/src/gallium/state_trackers/egl/fbdev/native_fbdev.c?id=b60120608f6ddf4098bc324363197c979ee04cb7

Quoted 8 lines
Cc Chia-I Wu <[email protected]>
Cc Dave Airlie <[email protected]>
Cc Adam Jackson <[email protected]>
Cc Jesse Barnes <[email protected]>

---
I've CC'ed everyone who reviewed/applied the patch that broke fbdev. Hopefully, someone can apply it this time.

Thanks, applied.
Kristian

Quoted 22 lines
 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
index b45ab5c..b17a8ce 100644
@@ -41,6 +41,7 @@
  *  - no pixmap support
  */
 
+#include <errno.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
 #include <sys/stat.h>
Signature · 6 lines
1.7.10

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel