[vlc-commits] commit: skins2(X11): add missing <limits.h> (Erwan Tulou )

git at videolan.org git at videolan.org
Sun Aug 15 19:44:35 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Aug 15 19:22:55 2010 +0200| [e209d40a8614c9fbb4c89300f327146528eae397] | committer: Erwan Tulou 

skins2(X11): add missing <limits.h>

This fixes a compil problem on FreeBSD

pointed out by jsa at FreeBSD.org

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e209d40a8614c9fbb4c89300f327146528eae397
---

 modules/gui/skins2/x11/x11_factory.cpp |    1 +
 modules/gui/skins2/x11/x11_window.cpp  |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/gui/skins2/x11/x11_factory.cpp b/modules/gui/skins2/x11/x11_factory.cpp
index 79fdcaa..a916cfa 100644
--- a/modules/gui/skins2/x11/x11_factory.cpp
+++ b/modules/gui/skins2/x11/x11_factory.cpp
@@ -28,6 +28,7 @@
 #include <dirent.h>
 #include <sys/stat.h>
 #include <X11/Xlib.h>
+#include <limits.h>
 
 #include "x11_factory.hpp"
 #include "x11_display.hpp"
diff --git a/modules/gui/skins2/x11/x11_window.cpp b/modules/gui/skins2/x11/x11_window.cpp
index 64fa4ae..e9e85de 100644
--- a/modules/gui/skins2/x11/x11_window.cpp
+++ b/modules/gui/skins2/x11/x11_window.cpp
@@ -25,6 +25,7 @@
 #ifdef X11_SKINS
 
 #include <X11/Xatom.h>
+#include <limits.h>
 
 #include "../src/generic_window.hpp"
 #include "../src/vlcproc.hpp"



More information about the vlc-commits mailing list