aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorjohnvg2011-02-01 12:28:26 +0000
committerjohnvg2011-02-01 12:28:26 +0000
commit53553d47470f4323e1cbc7d3cdf8fee0fd5be4de (patch)
tree8c4d9a35b9a11aac5b0037f6098032a988e5af26 /backendC
parentchange BESpecialIdentCount (diff)
move some #includes, because of compile errors on Mac OS X
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1824 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC')
-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>