fix compile error with latest gst headers
authorRob Clark <rob@ti.com>
Sat, 1 Jan 2011 03:56:48 +0000 (21:56 -0600)
committerRob Clark <rob@ti.com>
Sat, 1 Jan 2011 04:01:16 +0000 (22:01 -0600)
commit6e71bdbe0c617f83425b76325c7b08e0de33bea3
treee4c00568677b148b74148f93ec7acf48e076d31f
parentbd235864a96fe9fc06df69bc9fc457d0408d9756
fix compile error with latest gst headers

A conflict between XDM and gst headers results in:

  cc1: warnings being treated as errors
  In file included from gstducati.h:32,
                   from gstducatividdec.h:25,
                   from gstducativp7dec.h:25,
                   from gstducativp7dec.c:40:
  /usr/include/dce/xdc/std.h:172: error: "restrict" redefined
  /usr/include/gstreamer-0.10/gst/gstmacros.h:44: note: this is the location of the previous definition

The solution is to ensure XDM headers are included first.
18 files changed:
src/gstducati.c
src/gstducati.h
src/gstducatih264dec.c
src/gstducatih264dec.h
src/gstducatimpeg2dec.c
src/gstducatimpeg2dec.h
src/gstducatimpeg4dec.c
src/gstducatimpeg4dec.h
src/gstducatirvdec.c
src/gstducatirvdec.h
src/gstducativc1dec.c
src/gstducativc1dec.h
src/gstducatividdec.c
src/gstducatividdec.h
src/gstducativp6dec.c
src/gstducativp6dec.h
src/gstducativp7dec.c
src/gstducativp7dec.h