Commit 065a71fe authored by Alexandre Janniaux's avatar Alexandre Janniaux
Browse files

stream_out: rtsp: use locale.h only if uselocale is available

Like is done in src/config/file.c. It prevents including locale.h in
case it doesn't provide what we need. Instead, vlc_fixup will be used
and uselocale/newlocale will be no-op.
parent 9c3a84ab
Pipeline #17642 failed with stage
in 100 minutes and 3 seconds
......@@ -44,7 +44,7 @@
#include <stdlib.h>
#include <time.h>
#ifndef _WIN32
#if !defined(_WIN32) && defined(HAVE_USELOCALE)
# include <locale.h>
#endif
#ifdef HAVE_XLOCALE_H
......
Supports Markdown
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