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

Joel Sherrill joel.sherrill at oarcorp.com
Fri Jan 23 15:47:37 UTC 2015


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.
-- 
1.9.3




More information about the devel mailing list