Roland McGrath, le Fri 01 Mar 2013 09:57:11 -0800, a écrit :
> > I didn't bother, but I can indeed, probably to
> > glibc/include/sys/socket.h, or some other file?
> 
> It's only needed for Hurd, so but it in some non-installed Hurd-only header.

So for instance:

#define _hurd_sun_path_dupa(__addr, len) \
  strndupa ((__addr)->sun_path, (__len) - offsetof (struct sockaddr_un, 
sun_path))

in a new hurd/hurdsocket.h?

Samuel

Reply via email to