Commit 3c95653a authored by Daniel Mierswa's avatar Daniel Mierswa Committed by Jean-Baptiste Kempf

include config.h in media library sourcefiles

otherwise asprintf will be undeclared and compilation will fail due to
-Werror-implicit-declaration
Signed-off-by: default avatarDaniel Mierswa <impulze@impulze.org>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 1db29c8b
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,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
#include "sql_media_library.h" #include "sql_media_library.h"
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,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
#include "sql_media_library.h" #include "sql_media_library.h"
static const char* ppsz_AudioExtensions[] = { EXTENSIONS_AUDIO_CSV, NULL }; static const char* ppsz_AudioExtensions[] = { EXTENSIONS_AUDIO_CSV, NULL };
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,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
#include "sql_media_library.h" #include "sql_media_library.h"
int Find( media_library_t *p_ml, vlc_array_t *p_result_array, ... ) int Find( media_library_t *p_ml, vlc_array_t *p_result_array, ... )
......
...@@ -25,6 +25,10 @@ ...@@ -25,6 +25,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
#include "sql_media_library.h" #include "sql_media_library.h"
......
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