diff options
Diffstat (limited to '')
-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] |