aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-02-17 16:46:24 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-02-17 16:58:28 +0300
commit8b2c4cb77a9729cf92e95974ae58dc6bc2b43b35 (patch)
treec7d01deecc0658d618f865e37a94693d71404f9c /contrib/libs
parent37a48de781c5fbc587280dc55edc41943ac430e7 (diff)
downloadydb-8b2c4cb77a9729cf92e95974ae58dc6bc2b43b35.tar.gz
Disable VMS-specific includes
66d95dd207fc74603ea1ede079236c2ffdfb0962
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/openssl/apps/apps.c2
-rw-r--r--contrib/libs/openssl/apps/openssl.c2
-rw-r--r--contrib/libs/openssl/crypto/LPdir_vms.c12
-rw-r--r--contrib/libs/openssl/crypto/bio/bss_log.c6
-rw-r--r--contrib/libs/openssl/crypto/dso/dso_vms.c12
-rw-r--r--contrib/libs/openssl/crypto/rand/randfile.c2
-rw-r--r--contrib/libs/openssl/crypto/ui/ui_openssl.c8
7 files changed, 22 insertions, 22 deletions
diff --git a/contrib/libs/openssl/apps/apps.c b/contrib/libs/openssl/apps/apps.c
index f2447fb0be..6ef143477a 100644
--- a/contrib/libs/openssl/apps/apps.c
+++ b/contrib/libs/openssl/apps/apps.c
@@ -2279,7 +2279,7 @@ double app_tminterval(int stop, int usertime)
#elif defined(OPENSSL_SYSTEM_VMS)
# include <time.h>
-# include <times.h>
+# error #include <times.h>
double app_tminterval(int stop, int usertime)
{
diff --git a/contrib/libs/openssl/apps/openssl.c b/contrib/libs/openssl/apps/openssl.c
index f35d57f264..97b897305e 100644
--- a/contrib/libs/openssl/apps/openssl.c
+++ b/contrib/libs/openssl/apps/openssl.c
@@ -24,7 +24,7 @@
#include <openssl/err.h>
/* Needed to get the other O_xxx flags. */
#ifdef OPENSSL_SYS_VMS
-# include <unixio.h>
+# error #include <unixio.h>
#endif
#include "apps.h"
#define INCLUDE_FUNCTION_TABLE
diff --git a/contrib/libs/openssl/crypto/LPdir_vms.c b/contrib/libs/openssl/crypto/LPdir_vms.c
index e35363fd66..73b2654da8 100644
--- a/contrib/libs/openssl/crypto/LPdir_vms.c
+++ b/contrib/libs/openssl/crypto/LPdir_vms.c
@@ -40,14 +40,14 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-#include <descrip.h>
+#error #include <descrip.h>
#include <namdef.h>
-#include <rmsdef.h>
-#include <libfildef.h>
-#include <lib$routines.h>
+#error #include <rmsdef.h>
+#error #include <libfildef.h>
+#error #include <lib$routines.h>
#include <strdef.h>
-#include <str$routines.h>
-#include <stsdef.h>
+#error #include <str$routines.h>
+#error #include <stsdef.h>
#ifndef LPDIR_H
# include "LPdir.h"
#endif
diff --git a/contrib/libs/openssl/crypto/bio/bss_log.c b/contrib/libs/openssl/crypto/bio/bss_log.c
index b9579faaa2..78298d0e4f 100644
--- a/contrib/libs/openssl/crypto/bio/bss_log.c
+++ b/contrib/libs/openssl/crypto/bio/bss_log.c
@@ -26,9 +26,9 @@
#elif defined(OPENSSL_SYS_WIN32)
#elif defined(OPENSSL_SYS_VMS)
# include <opcdef.h>
-# include <descrip.h>
-# include <lib$routines.h>
-# include <starlet.h>
+# error #include <descrip.h>
+# error #include <lib$routines.h>
+# error #include <starlet.h>
/* Some compiler options may mask the declaration of "_malloc32". */
# if __INITIAL_POINTER_SIZE && defined _ANSI_C_SOURCE
# if __INITIAL_POINTER_SIZE == 64
diff --git a/contrib/libs/openssl/crypto/dso/dso_vms.c b/contrib/libs/openssl/crypto/dso/dso_vms.c
index 9d1066f915..237ccf6170 100644
--- a/contrib/libs/openssl/crypto/dso/dso_vms.c
+++ b/contrib/libs/openssl/crypto/dso/dso_vms.c
@@ -13,12 +13,12 @@
# pragma message disable DOLLARID
# include <errno.h>
-# include <rms.h>
-# include <lib$routines.h>
-# include <libfisdef.h>
-# include <stsdef.h>
-# include <descrip.h>
-# include <starlet.h>
+# error #include <rms.h>
+# error #include <lib$routines.h>
+# error #include <libfisdef.h>
+# error #include <stsdef.h>
+# error #include <descrip.h>
+# error #include <starlet.h>
# include "../vms_rms.h"
/* Some compiler options may mask the declaration of "_malloc32". */
diff --git a/contrib/libs/openssl/crypto/rand/randfile.c b/contrib/libs/openssl/crypto/rand/randfile.c
index 229ce864a3..d79a8d9642 100644
--- a/contrib/libs/openssl/crypto/rand/randfile.c
+++ b/contrib/libs/openssl/crypto/rand/randfile.c
@@ -20,7 +20,7 @@
#include <openssl/buffer.h>
#ifdef OPENSSL_SYS_VMS
-# include <unixio.h>
+# error #include <unixio.h>
#endif
#include <sys/types.h>
#ifndef OPENSSL_NO_POSIX_IO
diff --git a/contrib/libs/openssl/crypto/ui/ui_openssl.c b/contrib/libs/openssl/crypto/ui/ui_openssl.c
index 0f630a5bd9..03c4a148bf 100644
--- a/contrib/libs/openssl/crypto/ui/ui_openssl.c
+++ b/contrib/libs/openssl/crypto/ui/ui_openssl.c
@@ -57,7 +57,7 @@
# include "internal/cryptlib.h"
# ifdef OPENSSL_SYS_VMS /* prototypes for sys$whatever */
-# include <starlet.h>
+# error #include <starlet.h>
# ifdef __DECC
# pragma message disable DOLLARID
# endif
@@ -140,10 +140,10 @@
# endif
# ifdef OPENSSL_SYS_VMS
-# include <ssdef.h>
-# include <iodef.h>
+# error #include <ssdef.h>
+# error #include <iodef.h>
# include <ttdef.h>
-# include <descrip.h>
+# error #include <descrip.h>
struct IOSB {
short iosb$w_value;
short iosb$w_count;