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 @@ ...@@ -5,6 +5,11 @@
* *
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <stdio.h> #include <stdio.h>
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
* *
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h> #include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <malloc.h> #include <malloc.h>
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "AtmoClassicConnection.h" #include "AtmoClassicConnection.h"
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
...@@ -6,6 +6,11 @@ ...@@ -6,6 +6,11 @@
* *
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h> #include <string.h>
#include "AtmoConnection.h" #include "AtmoConnection.h"
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#if defined(__LIBVLC__) #if defined(__LIBVLC__)
# include "config.h"
# include <vlc_common.h> # include <vlc_common.h>
/* some things need to be changed if this code is used inside VideoLan Filter Module */ /* some things need to be changed if this code is used inside VideoLan Filter Module */
......
...@@ -8,6 +8,11 @@ ...@@ -8,6 +8,11 @@
* *
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "AtmoDmxSerialConnection.h" #include "AtmoDmxSerialConnection.h"
#include "DmxTools.h" #include "DmxTools.h"
......
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDynData.h" #include "AtmoDynData.h"
#if defined(_ATMO_VLC_PLUGIN_) #if defined(_ATMO_VLC_PLUGIN_)
......
...@@ -6,7 +6,11 @@ ...@@ -6,7 +6,11 @@
* See the README.txt file for copyright information and how to reach the author(s). * See the README.txt file for copyright information and how to reach the author(s).
* *
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoExternalCaptureInput.h" #include "AtmoExternalCaptureInput.h"
#include "AtmoTools.h" #include "AtmoTools.h"
......
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
* *
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "AtmoInput.h" #include "AtmoInput.h"
......
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#define __STDC_FORMAT_MACROS 1 #define __STDC_FORMAT_MACROS 1
#include "AtmoDefs.h" #include "AtmoDefs.h"
......
...@@ -7,6 +7,10 @@ ...@@ -7,6 +7,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "AtmoMultiConnection.h" #include "AtmoMultiConnection.h"
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <string.h> #include <string.h>
#include "AtmoOutputFilter.h" #include "AtmoOutputFilter.h"
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "AtmoPacketQueue.h" #include "AtmoPacketQueue.h"
......
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
* *
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoThread.h" #include "AtmoThread.h"
#if defined(_ATMO_VLC_PLUGIN_) #if defined(_ATMO_VLC_PLUGIN_)
......
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoTools.h" #include "AtmoTools.h"
#include "AtmoDynData.h" #include "AtmoDynData.h"
#include "AtmoLiveView.h" #include "AtmoLiveView.h"
......
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#if defined (WIN32) #if defined (WIN32)
......
...@@ -6,6 +6,10 @@ ...@@ -6,6 +6,10 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>
......
...@@ -22,6 +22,9 @@ ...@@ -22,6 +22,9 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "FnordlichtConnection.h" #include "FnordlichtConnection.h"
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
* $Id$ * $Id$
*/ */
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
#include "AtmoDefs.h" #include "AtmoDefs.h"
#include "MoMoConnection.h" #include "MoMoConnection.h"
......
...@@ -21,6 +21,10 @@ ...@@ -21,6 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/ *****************************************************************************/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
/***************************************************************************** /*****************************************************************************
* Preamble * Preamble
*****************************************************************************/ *****************************************************************************/
...@@ -30,10 +34,6 @@ ...@@ -30,10 +34,6 @@
#include <math.h> /* sin(), cos() */ #include <math.h> /* sin(), cos() */
#include <assert.h> #include <assert.h>
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif
// #define __ATMO_DEBUG__ // #define __ATMO_DEBUG__
// [:Zs]+$ // [: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