From: Ian Lynagh Date: Thu, 19 Nov 2009 12:29:51 +0000 (+0000) Subject: Include sys/types.h in HsDirectory.h; fixes trac #3653 X-Git-Tag: ghc-darcs-git-switchover~16 X-Git-Url: http://git.megacz.com/?p=haskell-directory.git;a=commitdiff_plain;h=36e4cefebd16a9253ac9651d043522045ec3f63d Include sys/types.h in HsDirectory.h; fixes trac #3653 --- diff --git a/include/HsDirectory.h b/include/HsDirectory.h index 23f23d4..b58cfb2 100644 --- a/include/HsDirectory.h +++ b/include/HsDirectory.h @@ -25,6 +25,10 @@ #include #endif +#if HAVE_SYS_TYPES_H +#include +#endif + #include "HsFFI.h" /* -----------------------------------------------------------------------------