diff --git a/src/utilities/gstat/dba.epp b/src/utilities/gstat/dba.epp index e4eb3fb6c0..02eb0219bc 100644 --- a/src/utilities/gstat/dba.epp +++ b/src/utilities/gstat/dba.epp @@ -281,7 +281,11 @@ int CLIB_ROUTINE main(int argc, char **argv) bool sw_record = false; bool sw_relation = false; SLONG page; - SLONG redir_in, redir_out, redir_err; +#ifdef SERVICE_REDIRECT + SLONG redir_in; + SLONG redir_out; + SLONG redir_err; +#endif UCHAR *vp, *vend; isc_db_handle db_handle = NULL; #ifdef SUPERSERVER