[rtems commit] sys/socket.h: Include <sys/types.h> for ssize_t

Joel Sherril joel at rtems.org
Thu Feb 12 22:18:32 UTC 2015


Module:    rtems
Branch:    master
Commit:    547c2282eea7a2e78341413f805a7781775b292c
Changeset: http://git.rtems.org/rtems/commit/?id=547c2282eea7a2e78341413f805a7781775b292c

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Wed Feb 11 14:12:48 2015 -0600

sys/socket.h: Include <sys/types.h> for ssize_t

closes 2245

---

 cpukit/libnetworking/sys/socket.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/libnetworking/sys/socket.h b/cpukit/libnetworking/sys/socket.h
index 571f6e0..3821d8b 100644
--- a/cpukit/libnetworking/sys/socket.h
+++ b/cpukit/libnetworking/sys/socket.h
@@ -36,7 +36,7 @@
 
 #include <sys/cdefs.h>
 #include <rtems/bsdnet/_types.h>
-#include <sys/_types.h>
+#include <sys/types.h>
 
 /*
  * Definitions related to sockets: types, address families, options.




More information about the vc mailing list