1 Fix build errors seen with glibc 2.20
3 /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/imx53qsb/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__'
4 strndup(const char *str, size_t n);
7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 Upstream-Status: Pending
9 Index: xserver-xorg-video-imx-11.09.01/src/imx_accel.c
10 ===================================================================
11 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_accel.c 2011-07-26 14:22:47.000000000 -0700
12 +++ xserver-xorg-video-imx-11.09.01/src/imx_accel.c 2014-08-29 15:54:43.648070587 -0700
14 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17 +#include <xorg-server.h>
21 Index: xserver-xorg-video-imx-11.09.01/src/imx_exa_offscreen.c
22 ===================================================================
23 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_exa_offscreen.c 2014-08-29 15:26:31.992070587 -0700
24 +++ xserver-xorg-video-imx-11.09.01/src/imx_exa_offscreen.c 2014-08-29 15:54:54.632070587 -0700
26 * When allocating, the contiguous block of areas with the minimum eviction
27 * cost is found and evicted in order to make room for the new allocation.
30 +#include <xorg-server.h>
34 Index: xserver-xorg-video-imx-11.09.01/src/imx_exa_z160.c
35 ===================================================================
36 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_exa_z160.c 2014-08-29 15:26:31.992070587 -0700
37 +++ xserver-xorg-video-imx-11.09.01/src/imx_exa_z160.c 2014-08-29 15:54:36.056070587 -0700
39 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
42 +#include <xorg-server.h>
45 #include "xf86_OSproc.h"
46 Index: xserver-xorg-video-imx-11.09.01/src/imx_ext.c
47 ===================================================================
48 --- xserver-xorg-video-imx-11.09.01.orig/src/imx_ext.c 2014-08-29 15:26:32.064070587 -0700
49 +++ xserver-xorg-video-imx-11.09.01/src/imx_ext.c 2014-08-29 15:55:18.048070587 -0700
51 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
54 +#include <xorg-server.h>
57 #include <X11/Xproto.h>