mirror of
https://github.com/mfontanini/libtins
synced 2026-01-30 05:24:26 +01:00
Move utils.h implementations to utils.cpp
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include <vector>
|
||||
#include <cstring>
|
||||
#include "macros.h"
|
||||
#include "utils.h"
|
||||
#ifndef _WIN32
|
||||
#include <netinet/in.h>
|
||||
#if defined(BSD) || defined(__FreeBSD_kernel__)
|
||||
@@ -45,9 +46,9 @@
|
||||
#else
|
||||
#include <winsock2.h>
|
||||
#include <iphlpapi.h>
|
||||
#undef interface
|
||||
#endif
|
||||
#include "network_interface.h"
|
||||
#include "utils.h"
|
||||
#include "endianness.h"
|
||||
#include "exceptions.h"
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <memory>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include "utils.h"
|
||||
#include "macros.h"
|
||||
#ifndef _WIN32
|
||||
#if defined(BSD) || defined(__FreeBSD_kernel__)
|
||||
#include <sys/socket.h>
|
||||
@@ -58,6 +58,7 @@
|
||||
#include <ws2tcpip.h>
|
||||
#undef interface
|
||||
#endif
|
||||
#include "utils.h"
|
||||
#include "pdu.h"
|
||||
#include "arp.h"
|
||||
#include "ethernetII.h"
|
||||
|
||||
Reference in New Issue
Block a user