aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-12 22:42:14 -0800
committerJunio C Hamano <gitster@pobox.com>2012-02-12 22:42:14 -0800
commit8ed9f5d6a785b57549abf09376dfe57ffb31dc24 (patch)
tree119991d9dd55c6b522f58bec476f00ddda5dd1d7 /compat
parent44a1020d4d41b90be80745c7a16e2a49fa612b56 (diff)
parentcd4c4e2481dd6fcb7ceb39242fa722993f8c0ab1 (diff)
downloadgit-8ed9f5d6a785b57549abf09376dfe57ffb31dc24.tar.gz
git-8ed9f5d6a785b57549abf09376dfe57ffb31dc24.tar.xz
Merge branch 'bw/inet-pton-ntop-compat'
* bw/inet-pton-ntop-compat: Drop system includes from inet_pton/inet_ntop compatibility wrappers
Diffstat (limited to 'compat')
-rw-r--r--compat/inet_ntop.c6
-rw-r--r--compat/inet_pton.c6
2 files changed, 0 insertions, 12 deletions
diff --git a/compat/inet_ntop.c b/compat/inet_ntop.c
index 60b5a1d0f..90b7cc45f 100644
--- a/compat/inet_ntop.c
+++ b/compat/inet_ntop.c
@@ -15,14 +15,8 @@
* SOFTWARE.
*/
-#include <errno.h>
-#include <sys/types.h>
-
#include "../git-compat-util.h"
-#include <stdio.h>
-#include <string.h>
-
#ifndef NS_INADDRSZ
#define NS_INADDRSZ 4
#endif
diff --git a/compat/inet_pton.c b/compat/inet_pton.c
index 2ec995e63..2b9a0a4e2 100644
--- a/compat/inet_pton.c
+++ b/compat/inet_pton.c
@@ -15,14 +15,8 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <errno.h>
-#include <sys/types.h>
-
#include "../git-compat-util.h"
-#include <stdio.h>
-#include <string.h>
-
#ifndef NS_INT16SZ
#define NS_INT16SZ 2
#endif