]> git.sesse.net Git - vlc/commitdiff
dash: include <config.h> in all cpp files
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 28 Jan 2012 14:24:43 +0000 (16:24 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 28 Jan 2012 14:25:32 +0000 (16:25 +0200)
On Win32, time_t can either be long or long long depending on #define's.
This caused linking failures.

modules/stream_filter/dash/http/HTTPConnection.h
modules/stream_filter/dash/mpd/SegmentInfoCommon.cpp
modules/stream_filter/dash/mpd/SegmentInfoDefault.cpp
modules/stream_filter/dash/mpd/SegmentTemplate.cpp

index 7bb4e25123d7c22320f88d8f372b6c32b11165bf..5a76d651812dbc48f1518f9030aa519ab5a23add 100644 (file)
 #ifndef HTTPCONNECTION_H_
 #define HTTPCONNECTION_H_
 
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 #include <vlc_stream.h>
index 14fc38d9dac7ee5ec3d8edb52aacab3d49598ed4..0ea4de709c812875313a5777b099780acf6ac97f 100644 (file)
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include "SegmentInfoCommon.h"
 
 #include "Segment.h"
index 5158059404922b2aa6536a5c1c08c5c2f4b14f88..f9a31592f3811896a2f021ca861b2756e8a60dc1 100644 (file)
@@ -20,6 +20,9 @@
  * along with this program; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include "SegmentInfoDefault.h"
 
index 793145ae95c74483534a6872a6b36f1cbb3d17b7..507b5438472e68d764e0e3f3f19452246e061db1 100644 (file)
@@ -20,6 +20,9 @@
  * along with this program; if not, write to the Free Software Foundation,
  * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
 
 #include "SegmentTemplate.h"
 #include "SegmentTimeline.h"