[vlc-commits] compat: missing #include, fix warning
Rémi Denis-Courmont
git at videolan.org
Sun Apr 14 09:05:30 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Apr 14 09:32:58 2019 +0300| [fa48f95c8567a1babc1610b3a966961482119d9c] | committer: Rémi Denis-Courmont
compat: missing #include, fix warning
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fa48f95c8567a1babc1610b3a966961482119d9c
---
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>
More information about the vlc-commits
mailing list