[vlc-devel] [VLC 3.x] compat: missing #include, fix warning

Marvin Scholz epirat07 at gmail.com
Fri Apr 23 02:14:48 UTC 2021


From: Rémi Denis-Courmont <remi at remlab.net>

(cherry picked from commit fa48f95c8567a1babc1610b3a966961482119d9c)
Signed-off-by: Marvin Scholz <epirat07 at gmail.com>
---
 compat/strverscmp.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/compat/strverscmp.c b/compat/strverscmp.c
index 0487592e64..0722b35e98 100644
--- a/compat/strverscmp.c
+++ b/compat/strverscmp.c
@@ -1,7 +1,7 @@
 /* Compare strings while treating digits characters numerically.
    Copyright (C) 1997, 2002, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
-   Contributed by Jean-François Bignolles <bignolle at ecoledoc.ibp.fr>, 1997.
+   Contributed by Jean-François Bignolles <bignolle at ecoledoc.ibp.fr>, 1997.
 
    The GNU C Library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
@@ -18,6 +18,10 @@
    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
    02111-1307 USA.  */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdint.h>
 #include <string.h>
 #include <ctype.h>
-- 
2.30.1



More information about the vlc-devel mailing list