aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-23 20:36:22 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-02-23 20:55:26 +0300
commit594a0b528d492d6574df185c932b62ec63b50fea (patch)
tree9cec8dcd9870af51e093baaf2e32277528a62aed /contrib/libs
parent252ce44bedd759a1771d1217b85f14b80320c0a6 (diff)
downloadydb-594a0b528d492d6574df185c932b62ec63b50fea.tar.gz
Disable Solaris-specific includes
4d7a5caf7339d32a0f45a35e4ec158c4f2bb9ce8
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/lzma/common/tuklib_integer.h2
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/io/coded_stream.h2
-rw-r--r--contrib/libs/protobuf/src/google/protobuf/stubs/port.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/lzma/common/tuklib_integer.h b/contrib/libs/lzma/common/tuklib_integer.h
index 6dd2a5f701..3fb797ee2a 100644
--- a/contrib/libs/lzma/common/tuklib_integer.h
+++ b/contrib/libs/lzma/common/tuklib_integer.h
@@ -90,7 +90,7 @@
#elif defined(HAVE_SYS_BYTEORDER_H)
// Solaris
-# include <sys/byteorder.h>
+# error #include <sys/byteorder.h>
# ifdef BSWAP_16
# define bswap16(num) BSWAP_16(num)
# endif
diff --git a/contrib/libs/protobuf/src/google/protobuf/io/coded_stream.h b/contrib/libs/protobuf/src/google/protobuf/io/coded_stream.h
index 3c44e0568c..64d4068f5f 100644
--- a/contrib/libs/protobuf/src/google/protobuf/io/coded_stream.h
+++ b/contrib/libs/protobuf/src/google/protobuf/io/coded_stream.h
@@ -137,7 +137,7 @@
#elif defined(__FreeBSD__)
#include <sys/endian.h> // __BYTE_ORDER
#elif (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__))
-#include <sys/isa_defs.h> // __BYTE_ORDER
+#error #include <sys/isa_defs.h> // __BYTE_ORDER
#elif defined(_AIX) || defined(__TOS_AIX__)
#include <sys/machine.h> // BYTE_ORDER
#else
diff --git a/contrib/libs/protobuf/src/google/protobuf/stubs/port.h b/contrib/libs/protobuf/src/google/protobuf/stubs/port.h
index 4d2750814f..c5159b19fc 100644
--- a/contrib/libs/protobuf/src/google/protobuf/stubs/port.h
+++ b/contrib/libs/protobuf/src/google/protobuf/stubs/port.h
@@ -66,7 +66,7 @@
#elif defined(__FreeBSD__)
#include <sys/endian.h> // __BYTE_ORDER
#elif (defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__))
-#include <sys/isa_defs.h> // __BYTE_ORDER
+#error #include <sys/isa_defs.h> // __BYTE_ORDER
#elif defined(_AIX) || defined(__TOS_AIX__)
#include <sys/machine.h> // BYTE_ORDER
#else