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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index bfa054648..2912f899a 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -546,8 +546,10 @@ struct sss_domain_info *copy_subdomain(TALLOC_CTX *mem_ctx,
/* 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 */