While POSIX mandates that certain socket types shall be defined by the inclusing of <netinet/in.h>, it also says that this header may also make visible all <sys/socket.h> symbols. Glibc does this, and without out it, some packages end up requiring an additional #include <sys/socket.h>. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Cygwin documentation is available on the net at https://cygwin.com You might especially be interested in https://cygwin.com/faq/faq.html#faq.programming.building-cygwin