Browse Source

Define ALIGN for OS/2.

CMSG_NXTHDR requires this.

Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
pull/2/head
KO Myung-Hun 15 years ago
committed by Rémi Duraffort
parent
commit
396053f830
  1. 5
      src/network/rootbind.c

5
src/network/rootbind.c

@ -58,6 +58,11 @@ int rootwrap_bind (int, int, int, const struct sockaddr *, size_t);
# define CMSG_LEN(len) (CMSG_ALIGN(sizeof(struct cmsghdr)) + (len))
#endif
#if defined(__OS2__) && !defined(ALIGN)
/* CMSG_NXTHDR requires this */
# define ALIGN(p) _ALIGN(p)
#endif
/**
* Receive a file descriptor from another process
*/

Loading…
Cancel
Save