summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/util.h')
-rw-r--r--src/util/util.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/util/util.h b/src/util/util.h
index 1f7c6c344..606eab03f 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -567,25 +567,6 @@ struct sss_domain_info *copy_subdomain(TALLOC_CTX *mem_ctx,
errno_t sss_br_lock_file(int fd, size_t start, size_t len,
int num_tries, useconds_t wait);
-/* Endianness-compatibility for systems running older versions of glibc */
-
-#ifndef le32toh
-#include <byteswap.h>
-
-/* Copied from endian.h on glibc 2.15 */
-#ifdef __USE_BSD
-/* Conversion interfaces. */
-# if __BYTE_ORDER == __LITTLE_ENDIAN
-# define le32toh(x) (x)
-# define htole32(x) (x)
-# else
-# define le32toh(x) __bswap_32 (x)
-# define htole32(x) __bswap_32 (x)
-# endif
-#endif /* __USE_BSD */
-
-#endif /* le32toh */
-
#ifdef HAVE_PAC_RESPONDER
#define BUILD_WITH_PAC_RESPONDER true
#else