Make sure _XOPEN_SOURCE_EXTENDED is correctly defined, and only if not
authorRichard Levitte <levitte@openssl.org>
Mon, 1 Nov 2004 08:20:28 +0000 (08:20 +0000)
committerRichard Levitte <levitte@openssl.org>
Mon, 1 Nov 2004 08:20:28 +0000 (08:20 +0000)
already defined.

fips/rand/fingerprint.sha1
fips/rand/fips_rand.c

index 19221c2e212ca95c74d5ca9eefb033108088c41b..0b1d91104f6df518491440861c2318d07921d9ca 100644 (file)
@@ -1,2 +1,2 @@
-HMAC-SHA1(fips_rand.c)= 204f93068be19786849b817d8f33d500e7cef1d2
+HMAC-SHA1(fips_rand.c)= 5dc4aa11c0377a049bee01d427e5b0bc3dd9f10f
 HMAC-SHA1(fips_rand.h)= 0567b1fe9b0efe034a537f335659b0b681809791
index b78042b1dd1a0beae63396ce13cc7b9870a33590..cc2f12deb93ae8751c62f7e7f7aca0f99d65f5a1 100644 (file)
@@ -56,7 +56,9 @@
 /* If we don't define _XOPEN_SOURCE_EXTENDED, struct timeval won't
    be defined and gettimeofday() won't be declared with strict compilers
    like DEC C in ANSI C mode.  */
-#define _XOPEN_SOURCE_EXTENDED
+#ifndef _XOPEN_SOURCE_EXTENDED
+#define _XOPEN_SOURCE_EXTENDED 1
+#endif
 
 #include <openssl/des.h>
 #include <openssl/rand.h>