Commit 396ba414 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

config.h must be included first and always

parent e0dabc42
......@@ -5,6 +5,11 @@
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
......
......@@ -6,6 +6,11 @@
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include <stdlib.h>
#include <malloc.h>
......
......@@ -7,6 +7,9 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#include "AtmoClassicConnection.h"
......
......@@ -7,6 +7,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h>
#include <string.h>
......
......@@ -6,6 +6,11 @@
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include "AtmoConnection.h"
......
......@@ -13,7 +13,6 @@
#if defined(__LIBVLC__)
# include "config.h"
# include <vlc_common.h>
/* some things need to be changed if this code is used inside VideoLan Filter Module */
......
......@@ -8,6 +8,11 @@
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#include "AtmoDmxSerialConnection.h"
#include "DmxTools.h"
......
......@@ -8,6 +8,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDynData.h"
#if defined(_ATMO_VLC_PLUGIN_)
......
......@@ -6,7 +6,11 @@
* See the README.txt file for copyright information and how to reach the author(s).
*
* $Id$
*/
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoExternalCaptureInput.h"
#include "AtmoTools.h"
......
......@@ -7,6 +7,11 @@
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#include "AtmoInput.h"
......
......@@ -8,6 +8,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#define __STDC_FORMAT_MACROS 1
#include "AtmoDefs.h"
......
......@@ -7,6 +7,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#include "AtmoMultiConnection.h"
......
......@@ -9,6 +9,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h>
#include "AtmoOutputFilter.h"
......
......@@ -9,6 +9,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#include "AtmoPacketQueue.h"
......
......@@ -5,6 +5,11 @@
*
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoThread.h"
#if defined(_ATMO_VLC_PLUGIN_)
......
......@@ -6,6 +6,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoTools.h"
#include "AtmoDynData.h"
#include "AtmoLiveView.h"
......
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#if defined (WIN32)
......
......@@ -6,6 +6,10 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
......
......@@ -22,6 +22,9 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#include "FnordlichtConnection.h"
......
......@@ -7,6 +7,9 @@
* $Id$
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h"
#include "MoMoConnection.h"
......
......@@ -21,6 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
/*****************************************************************************
* Preamble
*****************************************************************************/
......@@ -30,10 +34,6 @@
#include <math.h> /* sin(), cos() */
#include <assert.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
// #define __ATMO_DEBUG__
// [:Zs]+$
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment