summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6d19583..de17b8e 100644
--- a/main.c
+++ b/main.c
@@ -337,7 +337,8 @@ main (argc, argv, envp)
/* Make sure stdout is line-buffered. */
#if (defined (USGr3) || defined (HPUX) || defined (hpux) \
- || defined (M_XENIX) || defined (APOLLO) || defined (DGUX))
+ || defined (M_XENIX) || defined (APOLLO) || defined (DGUX) \
+ || defined (__IBMR2) || defined (POSIX))
setvbuf (stdout, (char *) 0, _IOLBF, BUFSIZ);
#else /* Not USGr3 and not HPUX et al. */
#ifdef USG