summaryrefslogtreecommitdiff
path: root/test-skeleton.c
diff options
context:
space:
mode:
Diffstat (limited to 'test-skeleton.c')
-rw-r--r--test-skeleton.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test-skeleton.c b/test-skeleton.c
index 729d55faa9..db04b11e63 100644
--- a/test-skeleton.c
+++ b/test-skeleton.c
@@ -122,6 +122,10 @@ main (int argc, char *argv[])
int status;
int opt;
+#ifdef STDOUT_UNBUFFERED
+ setbuf (stdout, NULL);
+#endif
+
while ((opt = getopt_long (argc, argv, "", options, NULL)) != -1)
switch (opt)
{