[vlc-devel] commit: Include vlc_network.h in misc/messages for win32 for ' WSAGetLastError' and 'net_strerror'. If this is very wrong, please revert. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Sat Mar 8 10:50:26 CET 2008
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Mar 8 01:45:24 2008 -0800| [d75350e240da7c0443f72745c2836a91ea807697]
Include vlc_network.h in misc/messages for win32 for 'WSAGetLastError' and 'net_strerror'. If this is very wrong, please revert.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d75350e240da7c0443f72745c2836a91ea807697
---
src/misc/messages.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/misc/messages.c b/src/misc/messages.c
index 5020a19..30a2b03 100644
--- a/src/misc/messages.c
+++ b/src/misc/messages.c
@@ -42,6 +42,10 @@
#include <errno.h> /* errno */
+#ifdef WIN32
+# include <vlc_network.h> /* 'net_strerror' and 'WSAGetLastError' */
+#endif
+
#ifdef HAVE_UNISTD_H
# include <unistd.h> /* close(), write() */
#endif
More information about the vlc-devel
mailing list