Mesa (master): egl-fbdev: Fix compile-error by including errno.h
Kristian Høgsberg
krh at kemper.freedesktop.org
Mon Apr 30 17:27:12 UTC 2012
Module: Mesa
Branch: master
Commit: 1de377bd307f3c4aa63f1a14a693f81af54d56ee
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1de377bd307f3c4aa63f1a14a693f81af54d56ee
Author: David Herrmann <dh.herrmann at googlemail.com>
Date: Sun Apr 29 11:53:16 2012 +0200
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
Signed-off-by: David Herrmann <dh.herrmann at googlemail.com>
Cc: Chia-I Wu <olv at lunarg.com>
Cc: Dave Airlie <airlied at redhat.com>
Cc: Adam Jackson <ajax at redhat.com>
Cc: Jesse Barnes <jbarnes at virtuousgeek.org>
---
.../state_trackers/egl/fbdev/native_fbdev.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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>
More information about the mesa-commit
mailing list