diff options
Diffstat (limited to 'src/sysstdio.h')
| -rw-r--r-- | src/sysstdio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sysstdio.h b/src/sysstdio.h index 5303e8a15b2..637f5fdfa6d 100644 --- a/src/sysstdio.h +++ b/src/sysstdio.h | |||
| @@ -21,6 +21,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */ | |||
| 21 | #define EMACS_SYSSTDIO_H | 21 | #define EMACS_SYSSTDIO_H |
| 22 | 22 | ||
| 23 | #include <fcntl.h> | 23 | #include <fcntl.h> |
| 24 | #include <limits.h> | ||
| 24 | #include <stdio.h> | 25 | #include <stdio.h> |
| 25 | #include "unlocked-io.h" | 26 | #include "unlocked-io.h" |
| 26 | 27 | ||
| @@ -38,4 +39,8 @@ extern void close_output_streams (void); | |||
| 38 | # define FOPEN_TEXT "" | 39 | # define FOPEN_TEXT "" |
| 39 | #endif | 40 | #endif |
| 40 | 41 | ||
| 42 | #ifndef PIPE_BUF | ||
| 43 | #define PIPE_BUF MAX_ALLOCA | ||
| 44 | #endif | ||
| 45 | |||
| 41 | #endif /* EMACS_SYSSTDIO_H */ | 46 | #endif /* EMACS_SYSSTDIO_H */ |