[vlc-devel] [PATCH 2/2] vlc_fixups: define EPROTO if necessary on OS/2
KO Myung-Hun
komh78 at gmail.com
Thu Sep 29 08:34:48 CEST 2016
---
include/vlc_fixups.h | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/include/vlc_fixups.h b/include/vlc_fixups.h
index 7a76ef4..f87179d 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 */
--
2.9.2
More information about the vlc-devel
mailing list