Hi, during the process of compiling OpenSSL 0.9.7e on
AIX 5.3, I ran into a compile issue whereby
"fips_rand.c" attempted to redefine
_XOPEN_SOURCE_EXTENDED which is already defined in
AIX's system headers.
Here's a patch that worked for me:
--- fips_rand.c.orig 2005-03-10 08:30:39.000000000
-0700
+++ fips_rand.c 2005-03-09 15:27:59.000000000 -0700
@@ -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. */
+#ifndef _XOPEN_SOURCE_EXTENDED
#define _XOPEN_SOURCE_EXTENDED
+#endif
#include <openssl/des.h>
#include <openssl/rand.h>
Thanks,
-Peter
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]