X-Git-Url: http://git.megacz.com/?p=haskell-directory.git;a=blobdiff_plain;f=include%2FHsDirectory.h;h=608b3aa55266d946adb6bb2a87d0fc6da46bbc0c;hp=b58cfb209daf30ece3e5ab054e01d436c34875d2;hb=277a9e46ab403722488b4bee7958751195fe012d;hpb=8ba5e95fc14cdaef89980bae2bf5be01fea9757a diff --git a/include/HsDirectory.h b/include/HsDirectory.h index b58cfb2..608b3aa 100644 --- a/include/HsDirectory.h +++ b/include/HsDirectory.h @@ -12,6 +12,12 @@ #ifdef __NHC__ #include "Nhc98BaseConfig.h" #else + +// On Solaris we have to make sure _FILE_OFFSET_BITS is defined +// before including below, because that header +// will try and define it if it isn't already. +#include "HsFFI.h" + #include "HsDirectoryConfig.h" #endif // Otherwise these clash with similar definitions from other packages: