From: David Herrmann <dh.herrmann@googlemail.com>
To: dri-devel@lists.freedesktop.org
Cc: Chia-I Wu <olv@lunarg.com>
Subject: [PATCH] egl-fbdev: Fix compile-error by including errno.h
Date: Sat, 14 Apr 2012 17:02:21 +0200 [thread overview]
Message-ID: <1334415741-13445-1-git-send-email-dh.herrmann@googlemail.com> (raw)
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
next reply other threads:[~2012-04-14 15:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 15:02 David Herrmann [this message]
2012-04-22 20:05 ` [PATCH RESEND] egl-fbdev: Fix compile-error by including errno.h David Herrmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334415741-13445-1-git-send-email-dh.herrmann@googlemail.com \
--to=dh.herrmann@googlemail.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=olv@lunarg.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox