[FFmpeg-devel] [PATCH] Make sure strcasecmp() is declared.

Diego 'Flameeyes' Pettenò flameeyes
Thu Oct 2 19:35:40 CEST 2008


On recent glibc versions strings.h is not included by default, so the
compiler will issue a warning for implicit declaration of
strcasecmp().
---

 vhook/imlib2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/vhook/imlib2.c b/vhook/imlib2.c
index 49a5bb2..e371f38 100644
--- a/vhook/imlib2.c
+++ b/vhook/imlib2.c
@@ -53,6 +53,7 @@
 #include <fcntl.h>
 #include <stdarg.h>
 #include <string.h>
+#include <strings.h>
 #include <unistd.h>
 #undef time
 #include <sys/time.h>





More information about the ffmpeg-devel mailing list