summaryrefslogtreecommitdiffstats
path: root/cpukit/libcsupport
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-28 23:12:10 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-06-28 23:12:10 +0000
commit46cce26f70b5e20a46d395c77c3852b73387a83d (patch)
treebcb85b952006e05f5cf094918cd78e4540ea0e87 /cpukit/libcsupport
parent2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-46cce26f70b5e20a46d395c77c3852b73387a83d.tar.bz2
2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/libio_sockets.c: Use rtems_set_errno_and_return_minus_one() where it was missed before.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r--cpukit/libcsupport/src/libio_sockets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/libio_sockets.c b/cpukit/libcsupport/src/libio_sockets.c
index a311c5fb0b..9521620762 100644
--- a/cpukit/libcsupport/src/libio_sockets.c
+++ b/cpukit/libcsupport/src/libio_sockets.c
@@ -20,6 +20,7 @@
#include <rtems.h>
#include <errno.h>
+#include <rtems/seterr.h>
/*
* Convert an RTEMS file descriptor to a BSD socket pointer.