Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
Icecast-Server
Commits
b3bc17fa
Commit
b3bc17fa
authored
Dec 01, 2002
by
Michael Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation errors on non-windows platforms.
svn path=/trunk/net/; revision=4133
parent
f7ee1580
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
src/net/sock.c
src/net/sock.c
+2
-2
src/net/sock.h
src/net/sock.h
+3
-4
No files found.
src/net/sock.c
View file @
b3bc17fa
...
...
@@ -41,8 +41,8 @@
#define vsnprintf _vsnprintf
#define EINPROGRESS WSAEINPROGRESS
#define ENOTSOCK WSAENOTSOCK
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY
#define EWOULDBLOCK WSAEWOULDBLOCK
#define EALREADY WSAEALREADY
#define socklen_t int
#endif
...
...
src/net/sock.h
View file @
b3bc17fa
...
...
@@ -25,11 +25,10 @@
#ifdef _WIN32
#include <winsock2.h>
#include <os.h>
#else
#include <unistd.h>
#endif
#include <os.h>
#include <unistd.h>
#endif
#ifdef HAVE_SYS_UIO_H
#include <sys/uio.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment