diff options
Diffstat (limited to 'libpcsxcore/socket.h')
| -rw-r--r-- | libpcsxcore/socket.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libpcsxcore/socket.h b/libpcsxcore/socket.h index bb0a978d..7ee0deb4 100644 --- a/libpcsxcore/socket.h +++ b/libpcsxcore/socket.h @@ -18,6 +18,10 @@ #ifndef __SOCKET_H__ #define __SOCKET_H__ +#ifdef __cplusplus +extern "C" { +#endif + int StartServer(); void StopServer(); @@ -33,4 +37,7 @@ void WriteSocket(char * buffer, int len); void SetsBlock(); void SetsNonblock(); +#ifdef __cplusplus +} +#endif #endif |
