mirror of
https://github.com/rhasspy/espeak-ng.git
synced 2026-11-07 15:24:02 +00:00
endian.h: Fix compilation on Linux.
This commit is contained in:
@@ -23,7 +23,8 @@
|
||||
#endif
|
||||
|
||||
#if defined(__linux__) || defined(__CYGWIN__)
|
||||
# include <endian.h>
|
||||
# pragma GCC system_header // Silence "warning: #include_next is a GCC extension"
|
||||
# include_next <endian.h>
|
||||
#elif defined(__APPLE__)
|
||||
# include <libkern/OSByteOrder.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user