Compile fails on OpenBSD 3.8
Status: Alpha
Brought to you by:
nero4wolfe
OpenBSD does not have hsearch_r, causing compile to fail
in dircache.c as shown below:
$ make
gcc -O -g -c dircache.c
dircache.c:61: error: storage size of `dirCache' isn't known
*** Error code 1
$
Previously I found and corrected a few very minor include
file issues with <wait.h> by replacing that line in each .c file
with this block:
#ifdef LINUX
#include <wait.h>
#else
/* OpenBSD wait4 */
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/wait.h>
#endif
Dirty, but effective.