diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-06 15:42:00 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-06 15:42:00 +0000 |
commit | 39bcf257b978dc71caaf58c5b556020ea7232f9d (patch) | |
tree | b40f09272974082967f8392a5f6d17fb8b5f41ee /cpukit | |
parent | 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-39bcf257b978dc71caaf58c5b556020ea7232f9d.tar.bz2 |
2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/pipe.c: Include <unistd.h>.
Include <rtems/pipe.h>.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/pipe.c | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 24cb33e077..aed169834c 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,7 @@ 2011-12-06 Ralf Corsépius <ralf.corsepius@rtems.org> + * libcsupport/src/pipe.c: Include <unistd.h>. + Include <rtems/pipe.h>. * libmisc/stackchk/check.c: Make Stack_check_Initialize, Stack_check_Dump_threads_usage static. * libfs/src/pipe/pipe.c: Include <rtems/pipe.h> (Missing prototype). diff --git a/cpukit/libcsupport/src/pipe.c b/cpukit/libcsupport/src/pipe.c index 13b2eb5dc6..6355ea2fd9 100644 --- a/cpukit/libcsupport/src/pipe.c +++ b/cpukit/libcsupport/src/pipe.c @@ -15,11 +15,12 @@ #include "config.h" #endif +#include <unistd.h> + #include <errno.h> #include <sys/types.h> #include <rtems/seterr.h> - -extern int pipe_create(int filsdes[2]); +#include <rtems/pipe.h> int pipe( int filsdes[2] |