summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pulsecore/core-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/core-util.c b/src/pulsecore/core-util.c
index b37f7f8cb..f2748aeb1 100644
--- a/src/pulsecore/core-util.c
+++ b/src/pulsecore/core-util.c
@@ -2553,7 +2553,7 @@ int pa_close_allv(const int except_fds[]) {
struct rlimit rl;
int maxfd, fd;
-#ifdef __linux__
+#if defined(__linux__) || defined(__sun)
int saved_errno;
DIR *d;