[vlc-commits] fix missing reference for _POSIX_HOST_NAME_MAX on FreeBSD.

Geraud CONTINSOUZAS git at videolan.org
Tue Jan 3 01:11:02 CET 2012


vlc | branch: master | Geraud CONTINSOUZAS <geraud at gcu.info> | Tue Jan  3 09:55:39 2012 +1100| [62046de312966ae0c726f52dcdd66fb439b2d6d8] | committer: Rafaël Carré

fix missing reference for _POSIX_HOST_NAME_MAX on FreeBSD.

FreeBSD declares it in limits.h. Add the proper include.

Signed-off-by: Rafaël Carré <funman at videolan.org>

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

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

diff --git a/modules/gui/skins2/x11/x11_window.cpp b/modules/gui/skins2/x11/x11_window.cpp
index 76b24af..6473c21 100644
--- a/modules/gui/skins2/x11/x11_window.cpp
+++ b/modules/gui/skins2/x11/x11_window.cpp
@@ -36,6 +36,7 @@
 #include "x11_factory.hpp"
 
 #include <assert.h>
+#include <limits.h>
 
 X11Window::X11Window( intf_thread_t *pIntf, GenericWindow &rWindow,
                       X11Display &rDisplay, bool dragDrop, bool playOnDrop,



More information about the vlc-commits mailing list