Original commit message from CVS:
Using the HAVE_XSHM of config.h
#include <gst/video/gstvideosink.h>
-/* FIXME : We should have a configure test for shm support */
-#define HAVE_XSHM
-
#ifdef HAVE_XSHM
#include <sys/ipc.h>
#include <sys/shm.h>
#include <gst/video/gstvideosink.h>
-/* FIXME : We should have a configure test for shm support */
-#define HAVE_XSHM
-
#ifdef HAVE_XSHM
#include <sys/ipc.h>
#include <sys/shm.h>
#include <X11/extensions/Xv.h>
#include <X11/extensions/Xvlib.h>
-
-
#include <string.h>
#include <math.h>