projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactor SrcLoc and SrcSpan
[ghc-hetmet.git]
/
rts
/
posix
/
FileLock.c
diff --git
a/rts/posix/FileLock.c
b/rts/posix/FileLock.c
index
26e9de4
..
cb36366
100644
(file)
--- a/
rts/posix/FileLock.c
+++ b/
rts/posix/FileLock.c
@@
-2,18
+2,20
@@
*
* (c) The GHC Team, 2007
*
*
* (c) The GHC Team, 2007
*
- * File locking support as required by Haskell 98
+ * File locking support as required by Haskell
*
* ---------------------------------------------------------------------------*/
*
* ---------------------------------------------------------------------------*/
+#include "PosixSource.h"
#include "Rts.h"
#include "Rts.h"
-#include "Hash.h"
+
#include "FileLock.h"
#include "FileLock.h"
+#include "Hash.h"
#include "RtsUtils.h"
#include "RtsUtils.h"
-#include "OSThreads.h"
-#include <unistd.h>
+#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <errno.h>
typedef struct {
#include <errno.h>
typedef struct {