diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-13 06:14:21 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-13 06:14:21 +0000 |
| commit | 2329ef0c46fd1546973744548ebd107f4d45ea5e (patch) | |
| tree | 5e0543e95ed6d07a94b342492a4368913504b5ee /libpcsxcore/socket.c | |
| parent | b640cf7a0fcbc352d221b588b73baadf72b92b72 (diff) | |
| download | pcsxr-2329ef0c46fd1546973744548ebd107f4d45ea5e.tar.gz | |
fix FTBFS on windows due to previous change for freebsd/solaris.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54526 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/socket.c')
| -rw-r--r-- | libpcsxcore/socket.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/socket.c b/libpcsxcore/socket.c index 432deac5..2e0dc870 100644 --- a/libpcsxcore/socket.c +++ b/libpcsxcore/socket.c @@ -15,13 +15,14 @@ * along with this program; if not, see <http://www.gnu.org/licenses>. */ +#ifdef _WIN32 +#include <winsock2.h> +#endif + #include "psxcommon.h" #include "socket.h" -#include <stdio.h> -#ifdef _WIN32 -#include <winsock2.h> -#else +#ifndef _WIN32 #include <sys/socket.h> #include <sys/ioctl.h> #include <arpa/inet.h> @@ -29,7 +30,6 @@ #include <unistd.h> #include <fcntl.h> #endif -#include <stdlib.h> static int server_socket = 0; static int client_socket = 0; |
