Browse Source

Disable Solaris-specific includes
6d29fb9ac3025811a6d0c5b1d5ec6a09f6c5ab20

thegeorg 1 year ago
parent
commit
23f5901ca9

+ 1 - 1
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
 

+ 1 - 1
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>

+ 1 - 1
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__ ) || \