config.h is now included first, before any other header.
Signed-off-by: Antoine Cellerier <dionoea@videolan.org>
/*****************************************************************************
* Preamble
*****************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
#include <time.h>
#include <fcntl.h>
#include <errno.h>
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <math.h> /* sqrt */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* sqrt */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <math.h> /* sqrt */
#ifdef HAVE_STDINT_H
# include <unistd.h>
#endif
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_es.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
* Preamble
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <errno.h> /* ENOMEM */
#include <ctype.h>
#include <signal.h>
#include <math.h>
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include <vlc_common.h>
#include <vlc_plugin.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_aout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h> /* ENOMEM */
-#include <fcntl.h> /* open(), O_WRONLY */
-#include <sys/ioctl.h> /* ioctl() */
-#include <unistd.h> /* write(), close() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h> /* ENOMEM */
+#include <fcntl.h> /* open(), O_WRONLY */
+#include <sys/ioctl.h> /* ioctl() */
+#include <unistd.h> /* write(), close() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_demux.h>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-
-#ifdef WIN32
-# include <io.h>
-#else
-# include <stdio.h>
-#endif
-
#ifdef __LIBVLC__
#ifdef HAVE_CONFIG_H
# include "config.h"
# include "drmsvl.h"
#endif
+#ifdef WIN32
+# include <io.h>
+#else
+# include <stdio.h>
+#endif
+
#ifdef HAVE_ERRNO_H
# include <errno.h>
#endif
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <sys/types.h>
-#include <sys/stat.h>
-#include <errno.h>
-#include <fcntl.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <errno.h>
+#include <fcntl.h>
+
#include <vlc_common.h>
#include <vlc_sout.h>
#include <vlc_block.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h> /* ENOMEM */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <math.h> /* exp(), pow() */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* exp(), pow() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h> /* ENOMEM */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_filter.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h>
-#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h>
+#include <math.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h>
-#include <math.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h>
+#include <math.h>
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h>
+
#ifdef HAVE_ALTIVEC_H
# include <altivec.h>
#endif
* Preamble
*****************************************************************************/
-#include <math.h> /* sin(), cos() */
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* sin(), cos() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_sout.h>
* Preamble
*****************************************************************************/
-#include <math.h> /* sin(), cos() */
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* sin(), cos() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
* Preamble
*****************************************************************************/
-#include <math.h> /* sin(), cos() */
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* sin(), cos() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
* Preamble
*****************************************************************************/
-#include <math.h> /* sin(), cos() */
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* sin(), cos() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
* Preamble
*****************************************************************************/
-#include <math.h> /* sin(), cos() */
-
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <math.h> /* sin(), cos() */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
+
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <errno.h> /* ENOMEM */
#include <signal.h> /* SIGUSR1, SIGUSR2 */
#include <fcntl.h> /* open() */
#include <linux/vt.h> /* VT_* */
#include <linux/kd.h> /* KD* */
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h> /* ENOMEM */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_vout.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <errno.h> /* ENOMEM */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <errno.h> /* ENOMEM */
+
#include <vlc_common.h>
#include <vlc_plugin.h>
#include <vlc_interface.h>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <vlc_filter.h>
#include <vlc_arrays.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <ctype.h>
-#include <errno.h>
+
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <ctype.h>
+#include <errno.h>
+
#include <vlc_common.h>
#include <vlc_codec.h>
#include <vlc_filter.h>
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
-#include <string.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <string.h>
+
#include <vlc_common.h>
#include <vlc_md5.h>
/*****************************************************************************
* Preamble
*****************************************************************************/
-#include <stdio.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
+#include <stdio.h>
+
#include <vlc_common.h>
#include "vlc_iso_lang.h"