[vlc-devel] commit: Work around missing PF_LOCAL (fixes: #3027) ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Aug 6 18:41:46 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Aug  6 19:41:24 2009 +0300| [29b00f3f47fe320de431200725bff5aec340e1f9] | committer: Rémi Denis-Courmont 

Work around missing PF_LOCAL (fixes: #3027)

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

 src/extras/libc.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/extras/libc.c b/src/extras/libc.c
index 94b7e77..9ecb470 100644
--- a/src/extras/libc.c
+++ b/src/extras/libc.c
@@ -57,6 +57,9 @@
 #   include <fcntl.h>
 #   include <sys/socket.h>
 #   include <sys/poll.h>
+#   ifndef PF_LOCAL
+#       define PF_LOCAL PF_UNIX
+#   endif
 #endif
 
 #if defined(WIN32) || defined(UNDER_CE)




More information about the vlc-devel mailing list