lavd/xv.c: Include XShm.h before Xvlib.h.

This may fix compilation with libxv 1.0.4.
pull/37/merge
Carl Eugen Hoyos 11 years ago
parent 0f322feffd
commit 3aa576513b
  1. 2
      libavdevice/xv.c

@ -29,8 +29,8 @@
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include <X11/extensions/Xv.h> #include <X11/extensions/Xv.h>
#include <X11/extensions/Xvlib.h>
#include <X11/extensions/XShm.h> #include <X11/extensions/XShm.h>
#include <X11/extensions/Xvlib.h>
#include <sys/shm.h> #include <sys/shm.h>
#include "libavutil/opt.h" #include "libavutil/opt.h"

Loading…
Cancel
Save