diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index d8d44a7ce..f1711646a 100644 --- a/src/pulsecore/core-util.c +++ b/src/pulsecore/core-util.c @@ -415,9 +415,11 @@ ssize_t pa_write(int fd, const void *buf, size_t count, int *type) { if (!type || *type == 0) { ssize_t r; +#ifdef OS_IS_WIN32 int err; retry: +#endif for (;;) { if ((r = send(fd, buf, count, MSG_NOSIGNAL)) < 0) {