diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-01-06 00:51:33 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-02-17 11:58:22 +0100 |
commit | bb12ff83564d43566089dd979639c6993ba76665 (patch) | |
tree | 1d7df88762eeba464971742328b7617ffb93f3b3 /src/pulsecore/inet_ntop.h | |
parent | 0ac0479534d9cb6e4ef734eeb3a663f33a4f8ef3 (diff) |
Apply #ifdefs around functionality not available on win32
And also the reverse: around some win32 specific functionality
Diffstat (limited to 'src/pulsecore/inet_ntop.h')
-rw-r--r-- | src/pulsecore/inet_ntop.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/inet_ntop.h b/src/pulsecore/inet_ntop.h index 7e1b2037..77ace6a4 100644 --- a/src/pulsecore/inet_ntop.h +++ b/src/pulsecore/inet_ntop.h @@ -1,8 +1,12 @@ #ifndef fooinet_ntophfoo #define fooinet_ntophfoo +#ifndef HAVE_INET_NTOP + #include <pulsecore/socket.h> const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt); #endif + +#endif |