missing include for windows

This commit is contained in:
Robin Müller 2021-04-11 14:58:53 +02:00
parent fbe860c6a5
commit 924ea420a9

View File

@ -1,6 +1,10 @@
#include "tcpipCommon.h" #include "tcpipCommon.h"
#include <fsfw/serviceinterface/ServiceInterface.h> #include <fsfw/serviceinterface/ServiceInterface.h>
#ifdef _WIN32
#include <ws2tcpip.h>
#endif
void tcpip::determineErrorStrings(Protocol protocol, ErrorSources errorSrc, std::string &protStr, void tcpip::determineErrorStrings(Protocol protocol, ErrorSources errorSrc, std::string &protStr,
std::string &srcString) { std::string &srcString) {
if(protocol == Protocol::TCP) { if(protocol == Protocol::TCP) {