X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=builtins%2Fpsize.c;h=0ba1c5115630ae36523a43854065091692cefab8;hb=ccc6cda312fea9f0468ee65b8f368e9653e1380b;hp=03a4f6e4e020ced6bbd70089517ba7ff4743d5d2;hpb=726f63884db0132f01745f1fb4465e6621088ccf;p=platform%2Fupstream%2Fbash.git diff --git a/builtins/psize.c b/builtins/psize.c index 03a4f6e..0ba1c51 100644 --- a/builtins/psize.c +++ b/builtins/psize.c @@ -21,6 +21,11 @@ /* Write output in 128-byte chunks until we get a sigpipe or write gets an EPIPE. Then report how many bytes we wrote. We assume that this is the pipe size. */ +#include + +#if defined (HAVE_UNISTD_H) +# include +#endif #include #include @@ -29,6 +34,7 @@ #include "../command.h" #include "../general.h" +#include "../sig.h" extern int errno; int nw;