Removed the struct keyword for fd_set type because it is typedefed as fd_set