/usr/include/errno.h/usr/include/sys/ioctl.h/usr/include/rpc/types.h
/usr/include/errno.h(and the corresponding gcc-include-file) add
#include <net/errno.h>
because of EWOULDBLOCK undefined in several places
regarding lbx.
Surround /usr/include/net/errno.h with
#ifndef _NET_ERRNO_H
#define _NET_ERRNO_H
...
#endif
to prevent multiple includes were <net/errno.h>
is explicit included from the sources.
/usr/include/errno.h/usr/include/sys/ioctl.h/usr/include/rpc/types.h