mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
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:
parent
abdf9b1c3f
commit
11c6cac324
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue