Skip to content

Commit 801b28a

Browse files
committed
Merge branch 'bw/inet-pton-ntop-compat' into maint
* bw/inet-pton-ntop-compat: Drop system includes from inet_pton/inet_ntop compatibility wrappers
2 parents 1dcfa8d + cd4c4e2 commit 801b28a

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

compat/inet_ntop.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@
1515
* SOFTWARE.
1616
*/
1717

18-
#include <errno.h>
19-
#include <sys/types.h>
20-
2118
#include "../git-compat-util.h"
2219

23-
#include <stdio.h>
24-
#include <string.h>
25-
2620
#ifndef NS_INADDRSZ
2721
#define NS_INADDRSZ 4
2822
#endif

compat/inet_pton.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,8 @@
1515
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
1616
*/
1717

18-
#include <errno.h>
19-
#include <sys/types.h>
20-
2118
#include "../git-compat-util.h"
2219

23-
#include <stdio.h>
24-
#include <string.h>
25-
2620
#ifndef NS_INT16SZ
2721
#define NS_INT16SZ 2
2822
#endif

0 commit comments

Comments
 (0)