summaryrefslogtreecommitdiffstats
path: root/src/util/crypto/nss/nss_sha512crypt.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-28 08:31:17 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-28 22:02:49 +0200
commit1658c567191c35beaddffafdb079abe33248037b (patch)
tree0f0090ea32f08db684f655fe6526557d31a7b98e /src/util/crypto/nss/nss_sha512crypt.c
parent46c5deedec570bb5f99702a933ba99d76f9f09cb (diff)
downloadsssd-1658c567191c35beaddffafdb079abe33248037b.tar.gz
sssd-1658c567191c35beaddffafdb079abe33248037b.tar.xz
sssd-1658c567191c35beaddffafdb079abe33248037b.zip
UTIL: Create new wraper header file sss_endian.h
Some platform have header file endian.h and anothers have sys/endian.h. We nedd to use conditional build to handle it correctly, therefore new header file sss_endian.h was created.
Diffstat (limited to 'src/util/crypto/nss/nss_sha512crypt.c')
-rw-r--r--src/util/crypto/nss/nss_sha512crypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/crypto/nss/nss_sha512crypt.c b/src/util/crypto/nss/nss_sha512crypt.c
index 76eb8a635..2838c4716 100644
--- a/src/util/crypto/nss/nss_sha512crypt.c
+++ b/src/util/crypto/nss/nss_sha512crypt.c
@@ -10,7 +10,6 @@
#include "config.h"
-#include <endian.h>
#include <errno.h>
#include <limits.h>
#include <stdbool.h>
@@ -22,6 +21,7 @@
#include <sys/types.h>
#include "util/util.h"
+#include "util/sss_endian.h"
#include "util/crypto/nss/nss_util.h"
#include <prinit.h>