aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-13 19:12:50 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-02-13 19:31:31 +0300
commitcc6a6aad0bf3124948e5213670bb53dc774454b9 (patch)
treee07731fc45805ff685fb6536fb255fda0cf116d4
parentef17909e4abdd409c15707f8693ee483571183ca (diff)
downloadydb-cc6a6aad0bf3124948e5213670bb53dc774454b9.tar.gz
Disable VxWorks-specific includes
-rw-r--r--contrib/libs/poco/Foundation/src/Environment_VX.cpp4
-rw-r--r--contrib/libs/poco/Foundation/src/SharedLibrary_VX.cpp2
-rw-r--r--contrib/libs/poco/Net/include/Poco/Net/SocketDefs.h6
3 files changed, 6 insertions, 6 deletions
diff --git a/contrib/libs/poco/Foundation/src/Environment_VX.cpp b/contrib/libs/poco/Foundation/src/Environment_VX.cpp
index fa0469dc95..c31b6702ff 100644
--- a/contrib/libs/poco/Foundation/src/Environment_VX.cpp
+++ b/contrib/libs/poco/Foundation/src/Environment_VX.cpp
@@ -17,10 +17,10 @@
#include "Poco/Buffer.h"
#error #include <VxWorks.h>
#error #include <envLib.h>
-#include <hostLib.h>
+#error #include <hostLib.h>
#error #include <ifLib.h>
#include <sockLib.h>
-#include <ioLib.h>
+#error #include <ioLib.h>
#error #include <version.h>
#include <cstring>
#include <unistd.h>
diff --git a/contrib/libs/poco/Foundation/src/SharedLibrary_VX.cpp b/contrib/libs/poco/Foundation/src/SharedLibrary_VX.cpp
index e9de60713d..b1a2f374f3 100644
--- a/contrib/libs/poco/Foundation/src/SharedLibrary_VX.cpp
+++ b/contrib/libs/poco/Foundation/src/SharedLibrary_VX.cpp
@@ -17,7 +17,7 @@
#include "Poco/Format.h"
#error #include <loadLib.h>
#error #include <unldLib.h>
-#include <ioLib.h>
+#error #include <ioLib.h>
#error #include <symLib.h>
#error #include <sysSymTbl.h>
#include <cstring>
diff --git a/contrib/libs/poco/Net/include/Poco/Net/SocketDefs.h b/contrib/libs/poco/Net/include/Poco/Net/SocketDefs.h
index ef62155389..7236318d52 100644
--- a/contrib/libs/poco/Net/include/Poco/Net/SocketDefs.h
+++ b/contrib/libs/poco/Net/include/Poco/Net/SocketDefs.h
@@ -74,11 +74,11 @@
#define ADDRESS_FAMILY USHORT
#endif
#elif defined(POCO_VXWORKS)
- #include <hostLib.h>
+ #error #include <hostLib.h>
#error #include <ifLib.h>
#error #include <inetLib.h>
- #include <ioLib.h>
- #include <resolvLib.h>
+ #error #include <ioLib.h>
+ #error #include <resolvLib.h>
#include <types.h>
#include <socket.h>
#include <netinet/tcp.h>