From c43bae3e4def6b3dc1411e910d4c91eb07de9978 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Denis-Courmont?= <rem@videolan.org>
Date: Sun, 15 Apr 2007 17:38:19 +0000
Subject: [PATCH] Fix the test suite

---
 src/Makefile.am | 3 +--
 src/test/url.c  | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index b09c46b871f8..d35e6e4bf4ef 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -374,8 +374,7 @@ endif
 
 CFLAGS_tests = `$(VLC_CONFIG) --cflags libvlc`
 
-test_i18n_atof_SOURCES = test/i18n_atof.c
-test_i18n_atof_LDADD = libvlc.la
+test_i18n_atof_SOURCES = test/i18n_atof.c text/charset.c
 test_i18n_atof_CFLAGS = $(CFLAGS_tests)
 
 test_url_SOURCES = test/url.c
diff --git a/src/test/url.c b/src/test/url.c
index f70a1d3aa582..33dcd4a1dc20 100644
--- a/src/test/url.c
+++ b/src/test/url.c
@@ -21,6 +21,7 @@
 
 #include <vlc/vlc.h>
 #include "vlc_url.h"
+#include "vlc_strings.h"
 
 #include <stdio.h>
 #include <stdlib.h>
-- 
GitLab