summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2015-01-23 09:43:59 -0600
committerJoel Sherrill <joel.sherrill@oarcorp.com>2015-01-23 09:46:59 -0600
commit081a6971d9919d10aa7b5cfec701015850679435 (patch)
tree3b7ed34e495b97ba20d07e024012bbc8566fba4a
parentpsx07: Add missing parameter to printf() call (diff)
downloadrtems-081a6971d9919d10aa7b5cfec701015850679435.tar.bz2
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.
-rw-r--r--cpukit/libnetworking/sys/socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h
index 603cfe108e..571f6e06bd 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.