[vlc-commits] commit: skins2(X11): add missing <limits.h> (Erwan Tulou )
git at videolan.org
git at videolan.org
Sun Aug 15 19:44:52 CEST 2010
vlc/vlc-1.1 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Sun Aug 15 19:22:55 2010 +0200| [e608525ee0d02b9ec49243fdfd22fb5732b954c1] | committer: Erwan Tulou
skins2(X11): add missing <limits.h>
This fixes a compil problem on FreeBSD
pointed out by jsa at FreeBSD.org
(cherry picked from commit e209d40a8614c9fbb4c89300f327146528eae397)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=e608525ee0d02b9ec49243fdfd22fb5732b954c1
---
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 97ab4c9..abd2e55 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