Probably, it is the lack of a firm definition of fd_set - your lxhttpd_netbase.h file defines it as:
struct fd_set;
Try to include the file containing the full definition, and the error should disappear.
At the moment, you try to access the
server->fd_readset->fd_array
etc. elements of your tcp_server structure, but the compiler doesn't know anything about them!