1
0
Fork 0

Include sys/types.h before including sys/random.h for OSX

This commit is contained in:
Moritz Grimm 2022-08-20 04:45:09 +02:00
parent c9426f2373
commit 708e59f90b
2 changed files with 4 additions and 0 deletions

1
NEWS
View File

@ -2,6 +2,7 @@ Changes in 1.NNN, released on YYYY-MM-DD:
* Fix regression when streaming formats other than Ogg (e.g. MP3). From
zygmund2000 on Github (#30) and Roland Hermans on GitLab (#2271).
* Fix build issue on OSX. From Mitchell Blank on GitLab (#2270).

View File

@ -19,6 +19,9 @@
#endif
#include <sys/stat.h>
#ifdef HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#ifdef HAVE_SYS_RANDOM_H
# include <sys/random.h>
#endif