[vlc-commits] https: fix test build with past POSIX versions
Rémi Denis-Courmont
git at videolan.org
Mon Dec 14 22:44:53 CET 2015
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 14 23:44:12 2015 +0200| [6306e74603fb0d407db6edf0280a501ec3482bdd] | committer: Rémi Denis-Courmont
https: fix test build with past POSIX versions
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6306e74603fb0d407db6edf0280a501ec3482bdd
---
modules/access/http/h2conn_test.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/access/http/h2conn_test.c b/modules/access/http/h2conn_test.c
index 13a2afc..331ab7d 100644
--- a/modules/access/http/h2conn_test.c
+++ b/modules/access/http/h2conn_test.c
@@ -30,6 +30,9 @@
#include <sys/types.h>
#include <unistd.h>
#include <sys/socket.h>
+#ifndef SOCK_CLOEXEC
+# define SOCK_CLOEXEC 0
+#endif
#include <vlc_common.h>
#include <vlc_block.h>
More information about the vlc-commits
mailing list