mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
pulse: Define PATH_MAX if it isn't defined
GNU Hurd for example doesn't define it.
This commit is contained in:
parent
b2f1983560
commit
e4f7411b57
1 changed files with 5 additions and 0 deletions
|
@ -120,6 +120,11 @@ gst_pulse_fill_sample_spec (GstRingBufferSpec * spec, pa_sample_spec * ss)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* PATH_MAX is not defined everywhere, e.g. on GNU Hurd */
|
||||||
|
#ifndef PATH_MAX
|
||||||
|
#define PATH_MAX 4096
|
||||||
|
#endif
|
||||||
|
|
||||||
gchar *
|
gchar *
|
||||||
gst_pulse_client_name (void)
|
gst_pulse_client_name (void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue