From 6f678c40818bce1132344ea1cf478163e82e1edd Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Wed, 24 Nov 2010 14:03:25 +0000 Subject: [PATCH] oops, revert invalid change --- ssl/dtls1.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/ssl/dtls1.h b/ssl/dtls1.h index 2900d1d8ae..f85acf59d4 100644 --- a/ssl/dtls1.h +++ b/ssl/dtls1.h @@ -57,8 +57,14 @@ * */ -#ifndef HEADER_DTLS1_H -#define HEADER_DTLS1_H +#ifndef HEADER_DTLS1_H +#define HEADER_DTLS1_H + +/* Unless _XOPEN_SOURCE_EXTENDED is defined, struct timeval will not be + properly defined with DEC C, at least on VMS */ +#if defined(__DECC) || defined(__DECCXX) +#define _XOPEN_SOURCE_EXTENDED +#endif #include #include -- 2.25.1