Commit b52c7ebd authored by Pino Toscano's avatar Pino Toscano Committed by Sebastian Dröge

pulse: Define PATH_MAX if it isn't defined

GNU Hurd for example doesn't define it.
parent bdc464a7
......@@ -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
#endif
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