]> git.sesse.net Git - vlc/commitdiff
skins2(X11): add missing <limits.h>
authorErwan Tulou <erwan10@videolan.org>
Sun, 15 Aug 2010 17:22:55 +0000 (19:22 +0200)
committerErwan Tulou <erwan10@videolan.org>
Sun, 15 Aug 2010 17:35:35 +0000 (19:35 +0200)
This fixes a compil problem on FreeBSD

pointed out by jsa@FreeBSD.org

modules/gui/skins2/x11/x11_factory.cpp
modules/gui/skins2/x11/x11_window.cpp

index 79fdcaac4e25e243898bacc899d77fe3f900711c..a916cfa69a678d5169274ecfccf970af9ca18c9b 100644 (file)
@@ -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"
index 64fa4aed54d1130f1facb2d47c4118ea7c6f56d3..e9e85de39cc8f67c7d0148623999a5afd5101c04 100644 (file)
@@ -25,6 +25,7 @@
 #ifdef X11_SKINS
 
 #include <X11/Xatom.h>
+#include <limits.h>
 
 #include "../src/generic_window.hpp"
 #include "../src/vlcproc.hpp"