mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-25 12:29:18 -05:00
Use sys/endian.h on FreeBSD
This commit is contained in:
parent
99df67b53c
commit
3724f943b9
@ -29,9 +29,14 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#if defined(__linux__)
|
||||
# include <endian.h>
|
||||
# include <byteswap.h>
|
||||
#include <stdint.h>
|
||||
#elif defined(__FreeBSD__)
|
||||
# include <sys/endian.h>
|
||||
#endif
|
||||
|
||||
#include <event.h>
|
||||
#include "evhttp/evhttp.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user