[1mdiff --git a/gio/ginputstream.c b/gio/ginputstream.c[m
[1mindex 215d6ac..305691e 100644[m
[1m--- a/gio/ginputstream.c[m
[1m+++ b/gio/ginputstream.c[m
[36m@@ -921,6 +921,33 @@[m [mg_input_stream_clear_pending (GInputStream *stream)[m
   stream->priv->pending = FALSE;[m
 }[m
 [m
[32m+[m[32m#if defined (G_OS_UNIX)[m
[32m+[m[32m#include "gunixinputstream.h"[m
[32m+[m[32m#elif defined (G_OS_WIN32)[m
[32m+[m[32m#include "gwin32inputstream.h"[m
[32m+[m[32m#endif[m
[32m+[m
[32m+[m[32m/**[m
[32m+[m[32m * g_input_stream_new_for_stdin:[m
[32m+[m[32m *[m
[32m+[m[32m * Create a new GInputStream that reads from the system's standard input.  If[m
[32m+[m[32m * the system doesn't have the concept of standard input, %NULL is returned.[m
[32m+[m[32m *[m
[32m+[m[32m * See also; g_output_stream_new_for_stdout(), g_output_stream_new_for_stderr().[m
[32m+[m[32m */[m
[32m+[m[32mGInputStream *[m
[32m+[m[32mg_input_stream_new_for_stdin (void)[m
[32m+[m[32m{[m
[32m+[m[32m#if defined (G_OS_UNIX)[m
[32m+[m[32m  return g_unix_input_stream_new (STDIN_FILENO, FALSE);[m
[32m+[m[32m#elif defined (G_OS_WIN32)[m
[32m+[m[32m  return g_win32_input_stream_new (GetStdHandle (STD_INPUT_HANDLE), FALSE);[m
[32m+[m[32m#else[m
[32m+[m[32m#warning Need implementation for g_input_stream_new_for_stdin[m
[32m+[m[32m  return NULL;[m
[32m+[m[32m#endif[m
[32m+[m[32m}[m
[32m+[m
 /********************************************[m
  *   Default implementation of async ops    *[m
  ********************************************/[m
[1mdiff --git a/gio/goutputstream.c b/gio/goutputstream.c[m
[1mindex 82edb5f..b699beb 100644[m
[1m--- a/gio/goutputstream.c[m
[1m+++ b/gio/goutputstream.c[m
[36m@@ -1225,6 +1225,54 @@[m [mg_output_stream_clear_pending (GOutputStream *stream)[m
   stream->priv->pending = FALSE;[m
 }[m
 [m
[32m+[m[32m#if defined (G_OS_UNIX)[m
[32m+[m[32m#include "gunixoutputstream.h"[m
[32m+[m[32m#elif defined (G_OS_WIN32)[m
[32m+[m[32m#include "gwin32outputstream.h"[m
[32m+[m[32m#endif[m
[32m+[m
[32m+[m[32m/**[m
[32m+[m[32m * g_output_stream_new_for_stdout:[m
[32m+[m[32m *[m
[32m+[m[32m * Create a new GOutputStream that writes to the system's standard output.  If[m
[32m+[m[32m * the system doesn't have the concept of standard output, %NULL is returned.[m
[32m+[m[32m *[m
[32m+[m[32m * See also; g_input_stream_new_for_stdin(), g_output_stream_new_for_stderr().[m
[32m+[m[32m */[m
[32m+[m[32mGOutputStream *[m
[32m+[m[32mg_output_stream_new_for_stdout (void)[m
[32m+[m[32m{[m
[32m+[m[32m#if defined (G_OS_UNIX)[m
[32m+[m[32m  return g_unix_output_stream_new (STDOUT_FILENO, FALSE);[m
[32m+[m[32m#elif defined (G_OS_WIN32)[m
[32m+[m[32m  return g_win32_output_stream_new (GetStdHandle (STD_OUTPUT_HANDLE), FALSE);[m
[32m+[m[32m#else[m
[32m+[m[32m#warning Need implementation for g_output_stream_new_for_stdin[m
[32m+[m[32m  return NULL;[m
[32m+[m[32m#endif[m
[32m+[m[32m}[m
[32m+[m
[32m+[m[32m/**[m
[32m+[m[32m * g_output_stream_new_for_stderr:[m
[32m+[m[32m *[m
[32m+[m[32m * Create a new GOutputStream that writes to the system's standard error output.[m
[32m+[m[32m * If the system doesn't have the concept of standard error output, %NULL is[m
[32m+[m[32m * returned.[m
[32m+[m[32m *[m
[32m+[m[32m * See also; g_input_stream_new_for_stdin(), g_output_stream_new_for_stdout().[m
[32m+[m[32m */[m
[32m+[m[32mGOutputStream *[m
[32m+[m[32mg_output_stream_new_for_stderr (void)[m
[32m+[m[32m{[m
[32m+[m[32m#if defined (G_OS_UNIX)[m
[32m+[m[32m  return g_unix_output_stream_new (STDERR_FILENO, FALSE);[m
[32m+[m[32m#elif defined (G_OS_WIN32)[m
[32m+[m[32m  return g_win32_output_stream_new (GetStdHandle (STD_ERROR_HANDLE), FALSE);[m
[32m+[m[32m#else[m
[32m+[m[32m#warning Need implementation for g_output_stream_new_for_stderr[m
[32m+[m[32m  return NULL;[m
[32m+[m[32m#endif[m
[32m+[m[32m}[m
 [m
 /********************************************[m
  *   Default implementation of async ops    *[m
