From 276ee63b9990c7fc82da51fb685d6687d1b3da28 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 19 Aug 2009 12:59:40 -0700 Subject: Define PATH_MAX if it isn't already --- Alc/pulseaudio.c | 4 ++++ 1 file changed, 4 insertions(+) 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; -- cgit v1.2.3