oops, revert invalid change
authorDr. Stephen Henson <steve@openssl.org>
Wed, 24 Nov 2010 14:03:25 +0000 (14:03 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Wed, 24 Nov 2010 14:03:25 +0000 (14:03 +0000)
ssl/dtls1.h

index 2900d1d8ae85fd22303ae48b316f4295740c5c6f..f85acf59d444d5b59f3b5fdcc99ab3d9fec5a91c 100644 (file)
  *
  */
 
-#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>