diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.cpp | 9 | ||||
-rw-r--r-- | src/login/main.cpp | 3 |
2 files changed, 5 insertions, 7 deletions
diff --git a/src/login/login.cpp b/src/login/login.cpp index 6831b19..2a1cb89 100644 --- a/src/login/login.cpp +++ b/src/login/login.cpp @@ -1,3 +1,4 @@ +#include "login.hpp" // login.cpp - Core of the login server. // // Copyright © ????-2004 Athena Dev Teams @@ -20,8 +21,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. -#include <arpa/inet.h> -#include <sys/types.h> #include <sys/wait.h> #include <netdb.h> @@ -29,14 +28,10 @@ #include <sys/resource.h> -#include <cstdlib> -#include <cstring> #include <ctime> #include <algorithm> -#include <array> #include <set> -#include <type_traits> #include "../ints/udl.hpp" @@ -53,11 +48,13 @@ #include "../io/lock.hpp" #include "../io/read.hpp" #include "../io/tty.hpp" +#include "../io/write.hpp" #include "../mmo/config_parse.hpp" #include "../mmo/core.hpp" #include "../mmo/extract.hpp" #include "../mmo/human_time_diff.hpp" +#include "../mmo/ids.hpp" #include "../mmo/md5more.hpp" #include "../mmo/mmo.hpp" #include "../mmo/socket.hpp" diff --git a/src/login/main.cpp b/src/login/main.cpp index 5d51212..857d493 100644 --- a/src/login/main.cpp +++ b/src/login/main.cpp @@ -1,4 +1,3 @@ -#include "login.hpp" // login/main.cpp - dummy file to make Make dependencies work // // Copyright © 2013 Ben Longbons <b.r.longbons@gmail.com> @@ -18,4 +17,6 @@ // You should have received a copy of the GNU General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. +#include "login.hpp" + #include "../poison.hpp" |