daemon: add nice value in service file to improve performance
[platform/upstream/pulseaudio.git] / src / pulsecore / arpa-inet.h
1 #ifndef fooarpa_inethfoo
2 #define fooarpa_inethfoo
3
4 #if defined(HAVE_ARPA_INET_H)
5
6 #include <arpa/inet.h>
7
8 #elif defined(OS_IS_WIN32)
9
10 /* On Windows winsock2.h (here included via pulsecore/socket.h) provides most of the functionality of arpa/inet.h, except for
11  * the inet_ntop and inet_pton functions, which are implemented here on versions earlier than Vista. */
12
13 #include <pulsecore/socket.h>
14
15 #if (_WIN32_WINNT < 0x0600)
16
17 const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt);
18
19 int inet_pton(int af, const char *src, void *dst);
20
21 #endif
22
23 #endif
24
25 #endif