]> git.sesse.net Git - vlc/blobdiff - modules/video_output/mga.c
Fix scaling of subpicture in fb video_output.
[vlc] / modules / video_output / mga.c
index 0b94d6de869f38ca8fe1a52e26a3df8d759e974f..e1dff096ab083da63f36adfa7039a7c4f23e96d9 100644 (file)
  *****************************************************************************/
 #include <errno.h>                                                 /* ENOMEM */
 #include <unistd.h>                                               /* close() */
-#include <stdlib.h>                                                /* free() */
-#include <string.h>                                            /* strerror() */
 #include <fcntl.h>                                                 /* open() */
 #include <sys/ioctl.h>                                            /* ioctl() */
 #include <sys/mman.h>                                          /* PROT_WRITE */
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_vout.h>