summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-11-11 05:36:47 +0100
committerLennart Poettering <lennart@poettering.net>2009-11-11 05:36:47 +0100
commitde2654c4e409e3bde1e971512bb0b7e587cbed10 (patch)
tree056fc3044a5d140fe2cfad4b47d1757bfa9b274a
parentbff94c192d414db1b6ea4a8d7366fa818e9caf2e (diff)
daemon: add missing tty_fd definition
-rw-r--r--src/daemon/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/main.c b/src/daemon/main.c
index 0a8e57d3..c006badb 100644
--- a/src/daemon/main.c
+++ b/src/daemon/main.c
@@ -618,6 +618,7 @@ int main(int argc, char *argv[]) {
if (conf->daemonize) {
pid_t child;
+ int tty_fd;
if (pa_stdio_acquire() < 0) {
pa_log(_("Failed to acquire stdio."));