ggreer/the_silver_searcher — pull request #77 by elliot-forty-two (2012-09-24 00:32:32+00:00)
Title: Portability changes for Solaris

I've added some fixed for Solaris which is a bit special and doesn't have things like fgetln and the d_type member of the dirent struct. I've also directly included dirent.h instead of sys/dir.h (doesn't exist on Solaris).

I also added files for using CMake as I don't have autoconf where I'm building this. You probably don't want to pick those up and alter your build chain, but I'm not exactly sure how this pull request thing works (I'm a bit new to git/github) so hopefully it's possible to cherry-pick some changes without pulling my whole commit. If not and you'd like to pull just part of it, I can re-do the commit to separate the files, or make a separate branch just for my CMake config.