Added __BSD_VISIBLE 1 to allow compiling on FreeBSD.  This includes SIGWINCH on FreeBSD.  Still compiles succesfully on OSX (Mavericks) and Ubuntu 12.04 LTS
Merge pull request #31 from annonymouse/master

Added __BSD_VISIBLE 1 to allow compiling on FreeBSD.