How to build libdsm for iOS system?

Hi, macromizer. Thanks for your good job. 
I'm trying to build libdsm library for iOS system, but no success. 
Can you share some details to us? Any help will be grateful.
Reading file is supposed to works :)
Do you need writing ?

On Sat, Oct 4, 2014 at 4:33 PM, macromizer <notifications@github.com> wrote:

> In bin/dsm.c:
>
> > @@ -31,7 +31,14 @@
> >  #include <sys/socket.h>
> >  #include <netinet/in.h>
> >  #include <netinet/ip.h>
> > -#include <netinet/udp.h>
> > +#if __APPLE__
> > +  #include "TargetConditionals.h"
>
> You're welcome. I've also been working on getting reading files working,
> but I'm keeping it in a local repo for now for just this very case. I'll
> keep you updated as things progress.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/videolabs/libdsm/pull/22/files#r18432450>.
>