On 23/01/15 01:37, Joel Sherrill wrote:
Hi

In running the Open Group FACE Conformance Test Suite on RTEMS, it
spotted that the old network stack's <sys/socket.h> does not include
the types.h (or sys/types.h) to get ssize_t. That means you get a type
undefined error if you followk

http://pubs.opengroup.org/onlinepubs/7908799/xns/syssocket.h.html

This impacts all the methods in <sys/socket.h> since the test suite assumes
that it only needs to include the .h file(s) specified by Open Group.

+ Does this occur with the new stack?

No.

+ Is it OK to add the appropiate include file to old stack's socket.h?


The real FreeBSD includes <sys/_types.h> and defines only the necessary types for <sys/socket.h>. In the new stack I simply include <sys/types.h>.

--
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.hu...@embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to