diff options
author | Adam <Adam@anope.org> | 2012-09-02 08:30:54 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-09-02 08:30:54 -0400 |
commit | 1af64a9bbb150b9daae3944d6aae86864c271103 (patch) | |
tree | c24a1ac6793e997f83ac66810b611f88855fcd90 /include/sockets.h | |
parent | e3d5140dcc936ff411c438b7e3997104cb5f085a (diff) |
Fix Windows
Diffstat (limited to 'include/sockets.h')
-rw-r--r-- | include/sockets.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/sockets.h b/include/sockets.h index 8f863b59c..8b669bbde 100644 --- a/include/sockets.h +++ b/include/sockets.h @@ -12,9 +12,11 @@ #ifndef SOCKETS_H #define SOCKETS_H +#ifndef _WIN32 #include <netinet/in.h> #include <sys/types.h> #include <sys/socket.h> +#endif #include "anope.h" @@ -482,8 +484,8 @@ class CoreExport Pipe : public Socket virtual void OnNotify() = 0; }; -extern uint32_t TotalRead; -extern uint32_t TotalWritten; -extern SocketIO normalSocketIO; +extern CoreExport uint32_t TotalRead; +extern CoreExport uint32_t TotalWritten; +extern CoreExport SocketIO normalSocketIO; #endif // SOCKET_H |