Trying to build software with libuv1-dev on kFreeBSD results in errors similar
to the following:
> cmake --build .
> [ 1%] Building C object CMakeFiles/neat.dir/neat_addr.c.o
> In file included from /usr/include/uv.h:62:0,
> from /home/irl/neat/neat_internal.h:5,
> from /home/irl/neat/neat_addr.c:7:
> /usr/include/uv-unix.h:61:30: fatal error: pthread-barrier.h: No such file or
> # include "pthread-barrier.h"
> compilation terminated.
This is because uv-unix.h tries to include this file but it was never included
in the package. On Linux the fallback to this mechanism isn't required and so
this file does not get included.