mirror of
https://github.com/kiwix/libkiwix.git
synced 2026-02-19 07:34:10 -05:00
According to POSIX, sockaddr_in is declared in netinet/in.h. Some POSIX systems (notably OpenBSD and FreeBSD) declare it in only this header, so including it is required. Others, like Linux, are are more lax in exposing symbols to the namespace, providing sockaddr_in via additional headers, but it does no harm to include the standard header on such systems.