about summary refs log tree commit diff stats
path: root/src/LYMain.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYMain.c')
-rw-r--r--src/LYMain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/LYMain.c b/src/LYMain.c
index db9112b9..cba6794a 100644
--- a/src/LYMain.c
+++ b/src/LYMain.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYMain.c,v 1.279 2018/03/30 09:22:45 tom Exp $
+ * $LynxId: LYMain.c,v 1.280 2018/04/01 20:48:44 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTTP.h>
@@ -772,6 +772,8 @@ static void free_lynx_globals(void)
 
 #ifdef VMS
     Define_VMSLogical("LYNX_VERSION", "");
+#else
+    (void) putenv("LYNX_VERSION=" LYNX_VERSION);
 #endif /* VMS */
 #ifndef VMS
     FREE(lynx_version_putenv_command);