[vlc-commits] vlc_fixups: define EPROTO if necessary on OS/2
KO Myung-Hun
git at videolan.org
Wed Nov 16 15:27:58 CET 2016
vlc | branch: master | KO Myung-Hun <komh78 at gmail.com> | Thu Sep 29 15:34:48 2016 +0900| [ec80ab802c7976aafbbc47ad11ef6e77b33d6778] | committer: Jean-Baptiste Kempf
vlc_fixups: define EPROTO if necessary on OS/2
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec80ab802c7976aafbbc47ad11ef6e77b33d6778
---
include/vlc_fixups.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index a3fc6f3..8b607a3 100644
--- a/include/vlc_fixups.h
+++ b/include/vlc_fixups.h
@@ -473,6 +473,11 @@ struct addrinfo
};
void freeaddrinfo (struct addrinfo *res);
+
+# include <errno.h>
+# ifndef EPROTO
+# define EPROTO (ELAST + 1)
+# endif
#endif
/* math.h */
More information about the vlc-commits
mailing list