aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile.inc2
-rw-r--r--lib/curl_setup.h13
-rw-r--r--lib/setup-vms.h (renamed from lib/post-config-vms.h)6
3 files changed, 12 insertions, 9 deletions
diff --git a/lib/Makefile.inc b/lib/Makefile.inc
index 281678d8e..5b73865aa 100644
--- a/lib/Makefile.inc
+++ b/lib/Makefile.inc
@@ -44,4 +44,4 @@ HHEADERS = arpa_telnet.h netrc.h file.h timeval.h qssl.h hostip.h \
curl_gssapi.h curl_ntlm_wb.h curl_ntlm_core.h curl_ntlm_msgs.h \
curl_sasl.h curl_schannel.h curl_multibyte.h curl_darwinssl.h \
hostcheck.h bundles.h conncache.h curl_setup_once.h multihandle.h \
- post-config-vms.h
+ setup-vms.h
diff --git a/lib/curl_setup.h b/lib/curl_setup.h
index a6f9e0a83..ad83fec5f 100644
--- a/lib/curl_setup.h
+++ b/lib/curl_setup.h
@@ -40,11 +40,6 @@
#include "curl_config.h"
-/* VMS needs some helper routines/definitions */
-#ifdef __VMS
-# include "post-config-vms.h"
-#endif
-
#else /* HAVE_CONFIG_H */
#ifdef _WIN32_WCE
@@ -235,6 +230,14 @@
#endif
/*
+ * VMS setup file includes some system headers.
+ */
+
+#ifdef __VMS
+# include "setup-vms.h"
+#endif
+
+/*
* Include header files for windows builds before redefining anything.
* Use this preprocessor block only to include or exclude windows.h,
* winsock2.h, ws2tcpip.h or winsock.h. Any other windows thing belongs
diff --git a/lib/post-config-vms.h b/lib/setup-vms.h
index 4da5b9924..4eefbba49 100644
--- a/lib/post-config-vms.h
+++ b/lib/setup-vms.h
@@ -1,5 +1,5 @@
-#ifndef HEADER_CONFIG_VMS_H
-#define HEADER_CONFIG_VMS_H
+#ifndef HEADER_CURL_SETUP_VMS_H
+#define HEADER_CURL_SETUP_VMS_H
/***************************************************************************
* _ _ ____ _
* Project ___| | | | _ \| |
@@ -395,4 +395,4 @@ char * unix_path;
#endif
#endif
-#endif /* HEADER_CONFIG_VMS_H */
+#endif /* HEADER_CURL_SETUP_VMS_H */