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/...
Signed-off-by: David Herrmann dh.herrmann@googlemail.com Cc: Chia-I Wu olv@lunarg.com Cc: Dave Airlie airlied@redhat.com Cc: Adam Jackson ajax@redhat.com Cc: Jesse Barnes jbarnes@virtuousgeek.org --- I've CC'ed everyone who reviewed/applied the patch that broke fbdev. Hopefully, someone can apply it this time.
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>
On Sun, Apr 29, 2012 at 11:53:16AM +0200, David Herrmann wrote:
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/...
Signed-off-by: David Herrmann dh.herrmann@googlemail.com Cc: Chia-I Wu olv@lunarg.com Cc: Dave Airlie airlied@redhat.com Cc: Adam Jackson ajax@redhat.com Cc: Jesse Barnes jbarnes@virtuousgeek.org
I've CC'ed everyone who reviewed/applied the patch that broke fbdev. Hopefully, someone can apply it this time.
Thanks, applied. Kristian
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
dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
dri-devel@lists.freedesktop.org