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

Geraud CONTINSOUZAS git at videolan.org
Sat Aug 11 22:14:22 CEST 2012


vlc/vlc-2.0 | branch: master | Geraud CONTINSOUZAS <geraud at gcu.info> | Tue Jan  3 09:55:39 2012 +1100| [826d649eb88ff06bec7840f2e261769b297ef307] | committer: Rémi Denis-Courmont

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>
(cherry picked from commit 62046de312966ae0c726f52dcdd66fb439b2d6d8)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

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

 modules/gui/skins2/x11/x11_window.cpp |    1 +
 1 file changed, 1 insertion(+)

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