summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-02-13 06:42:14 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-02-13 06:42:14 (GMT)
commit8ed9f5d6a785b57549abf09376dfe57ffb31dc24 (patch)
tree119991d9dd55c6b522f58bec476f00ddda5dd1d7 /compat
parent44a1020d4d41b90be80745c7a16e2a49fa612b56 (diff)
parentcd4c4e2481dd6fcb7ceb39242fa722993f8c0ab1 (diff)
downloadgit-8ed9f5d6a785b57549abf09376dfe57ffb31dc24.zip
git-8ed9f5d6a785b57549abf09376dfe57ffb31dc24.tar.gz
git-8ed9f5d6a785b57549abf09376dfe57ffb31dc24.tar.bz2
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 60b5a1d..90b7cc4 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 2ec995e..2b9a0a4 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