1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-12-24 23:45:20 +01:00

Clean up header includes (#16674)

This commit is contained in:
cx384
2025-11-16 15:00:51 +01:00
committed by GitHub
parent 44e7c5b9ab
commit ac0ebf39ad
214 changed files with 98 additions and 366 deletions

View File

@@ -4,21 +4,19 @@
#include "socket.h"
#include <cstdio>
#include <iostream>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include "util/string.h"
#include "util/numeric.h"
#include "address.h"
#include "constants.h"
#include "debug.h"
#include "log.h"
#include "networkexceptions.h"
#ifdef _WIN32
#include <windows.h>
#include <winsock2.h>
#include <ws2tcpip.h>
#include "util/string.h"
#define LAST_SOCKET_ERR() WSAGetLastError()
#define SOCKET_ERR_STR(e) itos(e)
typedef int socklen_t;