Fix FreeBSD builds

This commit is contained in:
Alexandre Snarskii
2019-03-01 13:47:40 +03:00
parent c9c46d7a1f
commit ca729ef6f0

View File

@@ -42,11 +42,11 @@
# define __LITTLE_ENDIAN LITTLE_ENDIAN
# define __PDP_ENDIAN PDP_ENDIAN
#elif defined(__OpenBSD__)
#elif defined(__OpenBSD__) || defined(__FreeBSD__)
# include <sys/endian.h>
#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__)
#elif defined(__NetBSD__) || defined(__DragonFly__)
# include <sys/endian.h>
@@ -115,4 +115,4 @@
#endif
#endif // CPPKAFKA_PORTABLE_ENDIAN_H
#endif // CPPKAFKA_PORTABLE_ENDIAN_H