mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-11 13:30:02 -05:00
Add inet_pton emulation for platforms that lack it. Only support IPv4 at
this point. git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@582 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
7050dbfdae
commit
adad7dc672
5 changed files with 80 additions and 1 deletions
12
src/polypcore/inet_pton.h
Normal file
12
src/polypcore/inet_pton.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef fooinet_ptonhfoo
|
||||
#define fooinet_ptonhfoo
|
||||
|
||||
#ifdef HAVE_SYS_SOCKET_H
|
||||
#include <sys/socket.h>
|
||||
#endif
|
||||
|
||||
#include "winsock.h"
|
||||
|
||||
int inet_pton(int af, const char *src, void *dst);
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue