diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-10-29 17:32:32 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-10-29 17:49:00 +0530 |
commit | 6fe3bfe6df611a698314add3c16e81ed3ecfb05b (patch) | |
tree | 8786c4f3b6fba42f404e266f42037ef6be0653db /src | |
parent | a423ee0f3d36b98baff64cc31558632e738b402d (diff) |
core: Fix warning on non-win32 builds
Diffstat (limited to 'src')
-rw-r--r-- | src/pulsecore/core-util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c index d8d44a7c..f1711646 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) { |