aboutsummaryrefslogtreecommitdiff
path: root/backendC/CleanCompilerSources/unix_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'backendC/CleanCompilerSources/unix_io.c')
-rw-r--r--backendC/CleanCompilerSources/unix_io.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/backendC/CleanCompilerSources/unix_io.c b/backendC/CleanCompilerSources/unix_io.c
index 6646852..8ca5627 100644
--- a/backendC/CleanCompilerSources/unix_io.c
+++ b/backendC/CleanCompilerSources/unix_io.c
@@ -217,6 +217,10 @@ static Bool findfilepath (char *fname, FileKind kind, char *mode, char *path)
}
#endif
+#include <sys/time.h>
+#include <sys/resource.h>
+#include <sys/stat.h>
+
File FOpen (char *wname, FileKind kind, char *mode)
{
char path[MAXPATHLEN];
@@ -373,9 +377,6 @@ void FGetXY (int *x, int *y, File f)
******************************************************************************/
-#include <sys/time.h>
-#include <sys/resource.h>
-#include <sys/stat.h>
#ifdef HP
# include <unistd.h>