projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452ae49
)
When using POSIXly functions, we need to define _POSIX_C_SOURCE, at
author
Richard Levitte
<levitte@openssl.org>
Sun, 27 Nov 2005 15:32:57 +0000
(15:32 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Sun, 27 Nov 2005 15:32:57 +0000
(15:32 +0000)
least when the source is compiled with ANSI settings.
apps/apps.c
patch
|
blob
|
history
diff --git
a/apps/apps.c
b/apps/apps.c
index fc15a74266a1ca3f62f13f121d5721aa8f3d5136..be710a6adb1d76aea98c3977846fec672a9f85aa 100644
(file)
--- a/
apps/apps.c
+++ b/
apps/apps.c
@@
-109,6
+109,10
@@
*
*/
+#define _POSIX_C_SOURCE 2 /* On VMS, you need to define this to get
+ the declaration of fileno(). The value
+ 2 is to make sure no function defined
+ in POSIX-2 is left undefined. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>