projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
openat: Work around compilation error with OSF/1 5.1 DTK cc.
[gnulib.git]
/
lib
/
freopen.c
diff --git
a/lib/freopen.c
b/lib/freopen.c
index
bae0646
..
7069ec9
100644
(file)
--- a/
lib/freopen.c
+++ b/
lib/freopen.c
@@
-33,7
+33,9
@@
orig_freopen (const char *filename, const char *mode, FILE *stream)
}
/* Specification. */
-#include <stdio.h>
+/* Write "stdio.h" here, not <stdio.h>, otherwise OSF/1 5.1 DTK cc eliminates
+ this include because of the preliminary #include <stdio.h> above. */
+#include "stdio.h"
#include <string.h>