summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap/ldap_auth.c
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2014-03-04 17:12:24 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-05-26 16:34:40 +0200
commitb3007e32fa5d6b722f3aaaf9fe7593103cb443c3 (patch)
tree2bdf9c95db0eb4a7b08475d1aae25be86d85be5e /src/providers/ldap/ldap_auth.c
parent1ecb16023779f912ba1c4e9e418acb59296ce8bc (diff)
downloadsssd-b3007e32fa5d6b722f3aaaf9fe7593103cb443c3.tar.gz
sssd-b3007e32fa5d6b722f3aaaf9fe7593103cb443c3.tar.xz
sssd-b3007e32fa5d6b722f3aaaf9fe7593103cb443c3.zip
UTIL: Fix order of header files.
The older version of glibc and different implementations of libs requires feature macros for enabling function getline. getline(), getdelim(): Since glibc 2.10: _POSIX_C_SOURCE >= 200809L || _XOPEN_SOURCE >= 700 Before glibc 2.10: _GNU_SOURCE All feature macros are in header file config.h and are detected by configure script. The header file config.h was included after few other header files. The problem is that header files stdio.h is included just once and is included from many external header files. We need to include config.h before any other header file to prevent problems. src/util/nscd.c: In function ‘sss_nscd_parse_conf’: src/util/nscd.c:150: error: implicit declaration of function ‘getline’ Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'src/providers/ldap/ldap_auth.c')
0 files changed, 0 insertions, 0 deletions