Commit e4f7411b authored by Pino Toscano's avatar Pino Toscano Committed by Tim-Philipp Müller

pulse: Define PATH_MAX if it isn't defined

GNU Hurd for example doesn't define it.
parent b2f19835
......@@ -120,6 +120,11 @@ gst_pulse_fill_sample_spec (GstRingBufferSpec * spec, pa_sample_spec * ss)
return TRUE;
/* PATH_MAX is not defined everywhere, e.g. on GNU Hurd */
#ifndef PATH_MAX
#define PATH_MAX 4096
gchar *
gst_pulse_client_name (void)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment