Include "lib/wildmatch.h", not "lib/fnmatch.h" or <fnmatch.h>.