aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-13 19:12:50 +0300
committerDaniil Cherednik <dcherednik@ydb.tech>2024-02-14 14:26:57 +0000
commit5a1477d40da13c59df336c93be094bc054258440 (patch)
tree1b50c151903d13d2ccab741025be1b144242a236
parentd820835e63da04b739f7a4fe8dba31a4bf71da44 (diff)
downloadydb-5a1477d40da13c59df336c93be094bc054258440.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>