aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
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 /contrib/libs
parent943514bdc207f2825a4709ed9fdb6842d8eccfda (diff)
downloadydb-23f5901ca96f61a5e720656acd943131642c34bd.tar.gz
Disable Solaris-specific includes
6d29fb9ac3025811a6d0c5b1d5ec6a09f6c5ab20
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/openldap/include/ldap_int_thread.h2
-rw-r--r--contrib/libs/t1ha/t1ha.h2
2 files changed, 2 insertions, 2 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>