]> git.sesse.net Git - vlc/blobdiff - src/extras/libc.c
Work around missing PF_LOCAL (fixes: #3027)
[vlc] / 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)