summaryrefslogtreecommitdiffstats
path: root/src/pulse/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulse/util.c')
-rw-r--r--src/pulse/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pulse/util.c b/src/pulse/util.c
index ba1d2a08..6656bc3f 100644
--- a/src/pulse/util.c
+++ b/src/pulse/util.c
@@ -131,9 +131,9 @@ char *pa_get_host_name(char *s, size_t l) {
}
char *pa_get_home_dir(char *s, size_t l) {
- char *e, *dir;
-
+ char *e;
#ifdef HAVE_PWD_H
+ char *dir;
struct passwd *r;
#endif