aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/pulseaudio.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c
index 3eac26cb..afb3ee6d 100644
--- a/Alc/pulseaudio.c
+++ b/Alc/pulseaudio.c
@@ -83,6 +83,10 @@ MAKE_FUNC(pa_stream_disconnect);
MAKE_FUNC(pa_threaded_mainloop_lock);
#undef MAKE_FUNC
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
typedef struct {
ALCdevice *device;