buf is needed on Windows aswell.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/ossman@440 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Pierre Ossman 2006-01-10 09:16:39 +00:00
parent abdf9b1c3f
commit 11c6cac324

View file

@ -321,9 +321,9 @@ char *pa_vsprintf_malloc(const char *format, va_list ap) {
/* Return the current username in the specified string buffer. */ /* Return the current username in the specified string buffer. */
char *pa_get_user_name(char *s, size_t l) { char *pa_get_user_name(char *s, size_t l) {
char *p; char *p;
char buf[1024];
#ifdef HAVE_PWD_H #ifdef HAVE_PWD_H
char buf[1024];
struct passwd pw, *r; struct passwd pw, *r;
#endif #endif