]> git.sesse.net Git - vlc/commitdiff
Work around missing PF_LOCAL (fixes: #3027)
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 6 Aug 2009 16:41:24 +0000 (19:41 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 6 Aug 2009 16:41:24 +0000 (19:41 +0300)
src/extras/libc.c

index 94b7e779b1a3e50618de43d0b695c83f2541e483..9ecb4700dffdf223a9db35084a602ece4837a8ff 100644 (file)
@@ -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)