diff --git a/gio/tests/pollable.c b/gio/tests/pollable.c index f52fa32ab..56dfa3a31 100644 --- a/gio/tests/pollable.c +++ b/gio/tests/pollable.c @@ -209,9 +209,9 @@ test_pollable_unix_pipe (void) static void test_pollable_unix_pty (void) { +#ifdef HAVE_OPENPTY GPollableInputStream *in = NULL; GOutputStream *out = NULL; -#ifdef HAVE_OPENPTY int a, b, status; #endif