| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | #define RTP_NSAMPLES_UNKNOWN (-1) |
| 6 | |
| 7 | +/* |
| 8 | + * Normally would define this in the .c file, |
| 9 | + * but this header is used in multiple places - |
| 10 | + * easier to make the patch here once |
| 11 | + */ |
| 12 | + |
| 13 | +#include "config.h" |
| 14 | + |
| 15 | +#if defined(HAVE_SYS_ENDIAN_H) |
| 16 | +#include <sys/endian.h> |
| 17 | +#endif |
| 18 | +#if defined(HAVE_ENDIAN_H) |
| 19 | +#include <endian.h> |
| 20 | +#endif |
| 21 | + |
| 22 | + |
| 23 | #if !defined(BYTE_ORDER) |
| 24 | # error "BYTE_ORDER needs to be defined" |
| 25 | #endif |