#include "test.h"
#endif
-#include "version.h"
-
#ifdef __VMS
# include "vms.h"
#endif /* def __VMS */
+extern char *version_string;
+
/* Forward decls. */
struct http_stat;
static char *create_authorization_line (const char *, const char *,
if (!opt.useragent) \
request_set_header (req, "User-Agent", \
aprintf ("Wget/%s (VMS %s %s)", \
- VERSION_STRING, vms_arch(), vms_vers()), \
+ version_string, vms_arch(), vms_vers()), \
rel_value); \
else if (*opt.useragent) \
request_set_header (req, "User-Agent", opt.useragent, rel_none); \
if (!opt.useragent) \
request_set_header (req, "User-Agent", \
aprintf ("Wget/%s (%s)", \
- VERSION_STRING, OS_TYPE), \
+ version_string, OS_TYPE), \
rel_value); \
else if (*opt.useragent) \
request_set_header (req, "User-Agent", opt.useragent, rel_none); \