joeyadams/haskell-network-socket-options — pull request #1 by jhickner (2012-09-26 02:03:26+00:00)
Title: Compiling on OSX

Hello, I added a few ifdefs to get things compiling on OSX. In particular the `#if unix` directives don't seem to be respected on OSX, so I added checks for `__APPLE__` as well, and the definition of the timeval struct is contained in a different file: `sys/time.h` on OSX.