Git fork

Drop system includes from inet_pton/inet_ntop compatibility wrappers

As both of these compatibility wrappers include git-compat-utils.h,
all of the system includes were redundant.

Dropping these system includes also makes git-compat-utils.h the first
include which avoids a compiler warning on Solaris due to the
redefinition of _FILE_OFFSET_BITS.

Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Ben Walton and committed by
Junio C Hamano
cd4c4e24 406da780

-12
-6
compat/inet_ntop.c
··· 15 15 * SOFTWARE. 16 16 */ 17 17 18 - #include <errno.h> 19 - #include <sys/types.h> 20 - 21 18 #include "../git-compat-util.h" 22 - 23 - #include <stdio.h> 24 - #include <string.h> 25 19 26 20 #ifndef NS_INADDRSZ 27 21 #define NS_INADDRSZ 4
-6
compat/inet_pton.c
··· 15 15 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 16 */ 17 17 18 - #include <errno.h> 19 - #include <sys/types.h> 20 - 21 18 #include "../git-compat-util.h" 22 - 23 - #include <stdio.h> 24 - #include <string.h> 25 19 26 20 #ifndef NS_INT16SZ 27 21 #define NS_INT16SZ 2