On 07/11/2012 05:12 PM, Michael Snoyman wrote: > > Thanks for the feedback. However, looking at sqlite3.c, I see the > necessary #include statements: > > #include <sys/types.h> > #include <sys/stat.h> > #include <unistd.h> > > I'm confident that none of my code is making calls to stat/stat64 via > the FFI. In case it makes a difference, this problem also disappears > if I compile the library against the system copy of sqlite3 instead of > using the C source.
You may need some extra defines, see the comments in "man stat64". Regards, _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe