summaryrefslogtreecommitdiff
path: root/libxvmc/viaXvMC.c
diff options
context:
space:
mode:
Diffstat (limited to 'libxvmc/viaXvMC.c')
-rw-r--r--libxvmc/viaXvMC.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libxvmc/viaXvMC.c b/libxvmc/viaXvMC.c
index ba14fd7..9b4344c 100644
--- a/libxvmc/viaXvMC.c
+++ b/libxvmc/viaXvMC.c
@@ -29,6 +29,10 @@
*DRI protocol support by Thomas Hellström, 2005.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#undef WAITPAUSE
#include "viaXvMCPriv.h"
@@ -38,7 +42,7 @@
#include <sys/time.h>
#include <time.h>
#include <fourcc.h>
-#include <Xv.h>
+#include <X11/extensions/Xv.h>
#include <xf86drm.h>
#include <pthread.h>
#include "vldXvMC.h"