openat: Work around compilation error with OSF/1 5.1 DTK cc.
[gnulib.git] / lib / fopen.c
index 33412fb..e9ba6bb 100644 (file)
@@ -33,7 +33,9 @@ orig_fopen (const char *filename, const char *mode)
 }
 
 /* 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 <errno.h>
 #include <fcntl.h>