# Needed to cross-compile linux > macosx
# X_XOPEN_SOURCE causes sys/resource.h to make struct rusage opaque
# But HAVE_STRUCT_RUSAGE_RU_MAXRSS is detected without X_XOPEN_SOURCE defined
# Compromise with _BSD_SOURCE which allows usleep and struct rusage.ru_maxrss
diff --git a/mythtv/external/FFmpeg/ffmpeg.c b/mythtv/external/FFmpeg/ffmpeg.c
index 9e2e4cb..0d18098 100644
|
|
|
20 | 20 | */ |
21 | 21 | |
22 | 22 | /* needed for usleep() */ |
23 | | #define _XOPEN_SOURCE 600 |
| 23 | #define _BSD_SOURCE 1 |
24 | 24 | |
25 | 25 | #include "config.h" |
26 | 26 | #include <ctype.h> |