a70351f UTIL: Fix implicit declaration of function 'htobe32'

2 files Authored by Lukas Slebodnik 7 years ago, Committed by lslebodn 7 years ago,
    UTIL: Fix implicit declaration of function 'htobe32'
    
    Include internal wrapper header file for endian related functions.
    The "util/sss_endian.h" include available header file on different
    platform or it provides compatible macros in the worst case.
    
    Breakage noticed when building SSSD on FreeBSD
    
      CC       src/util/cert/nss/libsss_cert_la-cert.lo
    src/util/cert/nss/cert.c: In function 'cert_to_ssh_key':
    src/util/cert/nss/cert.c:358: error: implicit declaration of function 'htobe32'
    gmake[2]: *** [Makefile:12421: src/util/cert/nss/libsss_cert_la-cert.lo] Error 1
    gmake[2]: Leaving directory '/root/sssd_from_git'
    gmake[1]: *** [Makefile:20050: all-recursive] Error 1
    gmake[1]: Leaving directory '/root/sssd_from_git'
    gmake: *** [Makefile:7116: all] Error 2
    
    Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
    (cherry picked from commit 58aa8d645fa95641431a2828e985f80c7fc36465)
    
        
file modified
+1 -0