diff options
author | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-08-24 08:28:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-24 08:28:54 +0200 |
commit | c7160cb629086df2a32c7dcf4faed4761ec4393e (patch) | |
tree | 63670a536ce95f6a3a1ce09bf2f2f65d1bec5214 /src/main.cpp | |
parent | 928609c8bd9d4e6129ab244214bd5c54d000b737 (diff) | |
download | minetest-c7160cb629086df2a32c7dcf4faed4761ec4393e.tar.gz minetest-c7160cb629086df2a32c7dcf4faed4761ec4393e.tar.bz2 minetest-c7160cb629086df2a32c7dcf4faed4761ec4393e.zip |
Network cleanup (#6302)
* Cleanup network headers
* Move peerhandler to a specific header to reduce compilation times
* Move socket.cpp/h to network folder
* More work
* Network code cleanups
* Move socket.{cpp,h} to network folder
* Move Address object to network/address.{cpp,h}
* Move network exceptions to network/networkexceptions.h
* Client: use unique_ptr for Connection
* Server/ClientIface: use shared_ptr for Connection
* Format fixes
* Remove socket.cpp socket.h from clang-format whitelist
* Also fix NetworkPacket code style & make it under clang-format
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index c75c6a328..02a85136a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,6 +39,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include "config.h" #include "player.h" #include "porting.h" +#include "network/socket.h" #if USE_CURSES #include "terminal_chat_console.h" #endif |