From 1de377bd307f3c4aa63f1a14a693f81af54d56ee Mon Sep 17 00:00:00 2001 From: David Herrmann Date: Sun, 29 Apr 2012 11:53:16 +0200 Subject: [PATCH] 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 Cc: Chia-I Wu Cc: Dave Airlie Cc: Adam Jackson Cc: Jesse Barnes --- 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 b45ab5c4f2e..b17a8ce78c9 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 #include #include #include -- 2.30.2