diff --git a/irpmonc/irpmonc.cpp b/irpmonc/irpmonc.cpp index 741ac04..92b7b9c 100644 --- a/irpmonc/irpmonc.cpp +++ b/irpmonc/irpmonc.cpp @@ -23,7 +23,9 @@ #include "driver-settings.h" #include "request-output.h" #include "stop-event.h" +#ifndef NOVSOCKETS #include "libvsock.h" +#endif #include "guid-api.h" #include "irpmonc.h" @@ -195,6 +197,7 @@ static int _parse_input(const wchar_t *Value) if (_initInfo.Data.Network.Address == NULL) ret = ENOMEM; break; +#ifndef NOVSOCKETS case ictVSockets: { wchar_t *endptr = NULL; unsigned int vmciVersion = 0xffffffff; @@ -240,6 +243,7 @@ static int _parse_input(const wchar_t *Value) fprintf(stderr, "[INFO]: vSock address: 0x%x (%u)\n", _initInfo.Data.VSockets.CID, _initInfo.Data.VSockets.CID); fprintf(stderr, "[INFO]: vSock port: 0x%x (%u)\n", _initInfo.Data.VSockets.Port, _initInfo.Data.VSockets.Port); } break; +#endif case ictHyperV: { wchar_t vmIdBuffer[100]; wchar_t appIdBuffer[100];