Add just enough types and constants to get mmap, stat and fsync running ...

...on OS X.  I haven't included any tests, and I wasn't really able to work out whether the definitions in the OS X files are intended to be in the same order as the Linux files.  Let me know if you need any improvements.