dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox