Fix building RTS with gcc 2.*; declare all variables at the top of a block
[ghc-hetmet.git] / rts / PosixSource.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2005
4  *
5  * Include this file into sources which should not need any non-Posix services.
6  * That includes most RTS C sources.
7  * ---------------------------------------------------------------------------*/
8
9 #ifndef POSIXSOURCE_H
10 #define POSIXSOURCE_H
11
12 #define _POSIX_SOURCE   1
13 #define _POSIX_C_SOURCE 199506L
14 #define _ISOC9X_SOURCE
15
16 /* Let's be ISO C9X too... */
17
18 #endif /* POSIXSOURCE_H */