mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-29 06:37:56 -04:00
[raop] Remove endian includes, now included via rtp_common.h
This commit is contained in:
parent
06d1d7273d
commit
dff64e3dd0
@ -45,17 +45,6 @@
|
|||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
#ifdef HAVE_ENDIAN_H
|
|
||||||
# include <endian.h>
|
|
||||||
#elif defined(HAVE_SYS_ENDIAN_H)
|
|
||||||
# include <sys/endian.h>
|
|
||||||
#elif defined(HAVE_LIBKERN_OSBYTEORDER_H)
|
|
||||||
#include <libkern/OSByteOrder.h>
|
|
||||||
#define htobe16(x) OSSwapHostToBigInt16(x)
|
|
||||||
#define be16toh(x) OSSwapBigToHostInt16(x)
|
|
||||||
#define htobe32(x) OSSwapHostToBigInt32(x)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <net/if.h>
|
#include <net/if.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user