summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/egl/drm
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-03-11 19:51:00 +0000
committerJosé Fonseca <[email protected]>2012-03-11 19:51:00 +0000
commit901a1183274670766df7f3f5c3b0d60b22fee722 (patch)
tree4acfd7b8173bb5c23a951f8cde08eb91710326ea /src/gallium/state_trackers/egl/drm
parentb60120608f6ddf4098bc324363197c979ee04cb7 (diff)
egl/drm: Include errno.h
Fixes scons build.
Diffstat (limited to 'src/gallium/state_trackers/egl/drm')
-rw-r--r--src/gallium/state_trackers/egl/drm/native_drm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/egl/drm/native_drm.c b/src/gallium/state_trackers/egl/drm/native_drm.c
index ba7afdbe3b8..3c4c19f1c17 100644
--- a/src/gallium/state_trackers/egl/drm/native_drm.c
+++ b/src/gallium/state_trackers/egl/drm/native_drm.c
@@ -27,6 +27,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <errno.h>
#include "util/u_memory.h"
#include "egllog.h"