summaryrefslogtreecommitdiffstats
path: root/src/lib
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/lib
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/lib')
-rw-r--r--src/lib/idmap/sss_idmap_conv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/idmap/sss_idmap_conv.c b/src/lib/idmap/sss_idmap_conv.c
index ef93f2a9f..fd06b23dd 100644
--- a/src/lib/idmap/sss_idmap_conv.c
+++ b/src/lib/idmap/sss_idmap_conv.c
@@ -30,6 +30,7 @@
#include "lib/idmap/sss_idmap.h"
#include "lib/idmap/sss_idmap_private.h"
#include "util/util.h"
+#include "util/sss_endian.h"
#define SID_ID_AUTHS 6
#define SID_SUB_AUTHS 15