diff options
Diffstat (limited to 'tests/pixbuf-threads.c')
-rw-r--r-- | tests/pixbuf-threads.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pixbuf-threads.c b/tests/pixbuf-threads.c index 0690acd82..fdcf4389f 100644 --- a/tests/pixbuf-threads.c +++ b/tests/pixbuf-threads.c @@ -18,6 +18,7 @@ */ #include "config.h" +#include <glib/gstdio.h> #include "gdk-pixbuf/gdk-pixbuf.h" #include "test-common.h" @@ -37,7 +38,7 @@ load_image (gpointer data, path = g_test_get_filename (G_TEST_DIST, "test-images/randomly-modified", filename, NULL); g_test_message ("reading %s", path); - file = fopen (path, "r"); + file = g_fopen (path, "rb"); g_assert (file != NULL); while (!feof (file)) |