[rtems commit] sys/socket.h: Add include of <sys/_types.h> for ssize_t

Gedare Bloom gedare at rtems.org
Sat Jan 24 00:55:24 UTC 2015


This probably should be back-ported.

On Fri, Jan 23, 2015 at 12:12 PM, Joel Sherril <joel at rtems.org> wrote:
> Module:    rtems
> Branch:    master
> Commit:    081a6971d9919d10aa7b5cfec701015850679435
> Changeset: http://git.rtems.org/rtems/commit/?id=081a6971d9919d10aa7b5cfec701015850679435
>
> Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
> Date:      Fri Jan 23 09:43:59 2015 -0600
>
> sys/socket.h: Add include of <sys/_types.h> for ssize_t
>
> This was needed to make it possible to only include <sys/socket.h>
> for the methods in this file in compliance with the POSIX
> specification. This was identified by the Open Group FACE
> Conformance Test Suite.
>
> Close 2245.
>
> ---
>
>  cpukit/libnetworking/sys/socket.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h
> index 603cfe1..571f6e0 100644
> --- a/cpukit/libnetworking/sys/socket.h
> +++ b/cpukit/libnetworking/sys/socket.h
> @@ -36,6 +36,7 @@
>
>  #include <sys/cdefs.h>
>  #include <rtems/bsdnet/_types.h>
> +#include <sys/_types.h>
>
>  /*
>   * Definitions related to sockets: types, address families, options.
>
> _______________________________________________
> vc mailing list
> vc at rtems.org
> http://lists.rtems.org/mailman/listinfo/vc


More information about the devel mailing list