Skip to content

Commit

Permalink
Merge branch 'bw/inet-pton-ntop-compat' into maint
Browse files Browse the repository at this point in the history
* bw/inet-pton-ntop-compat:
  Drop system includes from inet_pton/inet_ntop compatibility wrappers
  • Loading branch information
Junio C Hamano committed Feb 14, 2012
2 parents 1dcfa8d + cd4c4e2 commit 801b28a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
6 changes: 0 additions & 6 deletions compat/inet_ntop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 0 additions & 6 deletions compat/inet_pton.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 801b28a

Please sign in to comment.