author | Ben Walton <bwalton@artsci.utoronto.ca> | |
Sun, 5 Feb 2012 22:32:21 +0000 (17:32 -0500) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 6 Feb 2012 00:32:33 +0000 (16:32 -0800) | ||
commit | cd4c4e2481dd6fcb7ceb39242fa722993f8c0ab1 | |
tree | f2b406c6e4715331edf8bcb28dca6d56e5676109 | tree | snapshot |
parent | 406da7803217998ff6bf5dc69c55b1613556c2f4 | commit | diff |
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>
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>
compat/inet_ntop.c | diff | blob | history | |
compat/inet_pton.c | diff | blob | history |