Skip to content
Snippets Groups Projects

handle htobe32 et al. on glibc systems with a non-Linux kernel

Merged Daniel Kahn Gillmor requested to merge dkg/resolver:endianness into master
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
+ 2
1
@@ -27,7 +27,8 @@
#include <stdint.h>
#include <string.h>
#if defined(__linux__)
#if defined(__linux__) || defined(__gnu_hurd__) || \
(defined(__FreeBSD_kernel__) && defined(__GLIBC__))
# include <endian.h>
# ifndef be64toh
# include <arpa/inet.h>
Loading