diff options
author | David Herrmann <[email protected]> | 2012-04-29 11:53:16 +0200 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-04-30 13:27:05 -0400 |
commit | 1de377bd307f3c4aa63f1a14a693f81af54d56ee (patch) | |
tree | e7f1eaf4c308c3baff9c1d2029adf70d4f531c56 /src/gallium/state_trackers | |
parent | 249817e92839d9ecdd78360eb3a856724df504c4 (diff) |
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 <[email protected]>
Cc: Chia-I Wu <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: Adam Jackson <[email protected]>
Cc: Jesse Barnes <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/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 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 <errno.h> #include <sys/ioctl.h> #include <sys/types.h> #include <sys/stat.h> |