summaryrefslogtreecommitdiff
path: root/ssl/dtls1.h
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2009-11-12 17:03:10 +0000
committerRichard Levitte <levitte@openssl.org>2009-11-12 17:03:10 +0000
commit0a02d1db345fd37e4be3f708dcafd97e18774316 (patch)
tree5ccd876175a49ae70c0cf33c9cb2c979e5f50751 /ssl/dtls1.h
parentff094bc2d11d8c5796cf99bd389b51f37d6cead3 (diff)
downloadopenssl-new-0a02d1db345fd37e4be3f708dcafd97e18774316.tar.gz
Update from 1.0.0-stable
Diffstat (limited to 'ssl/dtls1.h')
-rw-r--r--ssl/dtls1.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/ssl/dtls1.h b/ssl/dtls1.h
index c4d3a75111..472fe91f13 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 <openssl/buffer.h>
#include <openssl/pqueue.h>