aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-22 15:41:32 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-02-22 15:53:05 +0300
commit23f5901ca96f61a5e720656acd943131642c34bd (patch)
treecc72e7e2e37820d02fbdb6603013a49b075b7d29
parent943514bdc207f2825a4709ed9fdb6842d8eccfda (diff)
downloadydb-23f5901ca96f61a5e720656acd943131642c34bd.tar.gz
Disable Solaris-specific includes
6d29fb9ac3025811a6d0c5b1d5ec6a09f6c5ab20
-rw-r--r--contrib/libs/openldap/include/ldap_int_thread.h2
-rw-r--r--contrib/libs/t1ha/t1ha.h2
-rw-r--r--contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-brg_endian_avx2.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/libs/openldap/include/ldap_int_thread.h b/contrib/libs/openldap/include/ldap_int_thread.h
index 2c82d6825b..cd2e636b5b 100644
--- a/contrib/libs/openldap/include/ldap_int_thread.h
+++ b/contrib/libs/openldap/include/ldap_int_thread.h
@@ -112,7 +112,7 @@ LDAP_END_DECL
********************************************/
#include <thread.h>
-#include <synch.h>
+#error #include <synch.h>
LDAP_BEGIN_DECL
diff --git a/contrib/libs/t1ha/t1ha.h b/contrib/libs/t1ha/t1ha.h
index 9bb8d74496..8e5e588529 100644
--- a/contrib/libs/t1ha/t1ha.h
+++ b/contrib/libs/t1ha/t1ha.h
@@ -258,7 +258,7 @@
defined(HAVE_MACHINE_ENDIAN_H) || __has_include(<machine/endian.h>)
#include <machine/endian.h>
#elif defined(HAVE_SYS_ISA_DEFS_H) || __has_include(<sys/isa_defs.h>)
-#include <sys/isa_defs.h>
+#error #include <sys/isa_defs.h>
#elif (defined(HAVE_SYS_TYPES_H) && defined(HAVE_SYS_ENDIAN_H)) || \
(__has_include(<sys/types.h>) && __has_include(<sys/endian.h>))
#include <sys/endian.h>
diff --git a/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-brg_endian_avx2.h b/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-brg_endian_avx2.h
index 8e8b73cf2a..7218ce9f8e 100644
--- a/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-brg_endian_avx2.h
+++ b/contrib/restricted/aws/s2n/pq-crypto/kyber_r3/KeccakP-brg_endian_avx2.h
@@ -34,7 +34,7 @@
#if 0
/* Include files where endian defines and byteswap functions may reside */
#if defined( __sun )
-# include <sys/isa_defs.h>
+# error #include <sys/isa_defs.h>
#elif defined( __FreeBSD__ ) || defined( __OpenBSD__ ) || defined( __NetBSD__ )
# include <sys/endian.h>
#elif defined( BSD ) && ( BSD >= 199103 ) || defined( __APPLE__ ) || \