# HG changeset patch
# User Diego 'Flameeyes' Pettenò <[EMAIL PROTECTED]>
# Date 1181385011 -7200
# Node ID 8f53370491e666fd18d74f6c8d5abc100d3adabb
# Parent  3eeb7ab5b0e2fdc0d68bf7521eba80e115e0ea66
Include dlfcn.h only when dlopen() is needed.

diff -r 8f53370491e666fd18d74f6c8d5abc100d3adabb -r 
3eeb7ab5b0e2fdc0d68bf7521eba80e115e0ea66 src/xine-utils/cpu_accel.c
--- a/src/xine-utils/cpu_accel.c        Sat Jun 09 12:30:11 2007 +0200
+++ b/src/xine-utils/cpu_accel.c        Sat Jun 09 12:22:54 2007 +0200
@@ -24,7 +24,10 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <inttypes.h>
+
+#if defined(HAVE_MLIB) && defined(MLIB_LAZYLOAD)
 #include <dlfcn.h>
+#endif
 
 #if defined (__SVR4) && defined (__sun)
 #include <sys/systeminfo.h>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog

Reply via email to