ggreer/the_silver_searcher — pull request #20 by jdhore (2012-03-19 21:07:13+00:00)
Title: Fixed 2 warnings that pop up on non-BSD OS's

I added a configure detection for kqueue (which is BSD-only and is *VERY* unlikely to ever be ported to linux at least) which offers decent, cheap BSD detection and used it for an ifdef in search.c and used a cast to const to avoid a warning that shows up on linux and it appears that const for that argument is the standard[1].

[1] http://pubs.opengroup.org/onlinepubs/9699919799/functions/scandir.html

:)