winbindd: Remove ads.h include from nss_info
authorChristof Schmitt <cs@samba.org>
Tue, 26 Jun 2018 20:30:06 +0000 (13:30 -0700)
committerChristof Schmitt <cs@samba.org>
Wed, 11 Jul 2018 20:39:36 +0000 (22:39 +0200)
nss_info does not use libads. Removing this include
fixes a compile error when trying to compile with a
system provided heimdal library:

[2188/3043] Compiling source3/winbindd/nss_info.c
In file included from ../source3/libads/kerberos_proto.h:33:0,
                 from ../source3/include/ads.h:154,
                 from ../source3/winbindd/nss_info.c:24:
../lib/replace/system/kerberos.h:33:10: fatal error: krb5.h: No such file or directory
 #include <krb5.h>
          ^~~~~~~~

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Christof Schmitt <cs@samba.org>
Autobuild-Date(master): Wed Jul 11 22:39:36 CEST 2018 on sn-devel-144

source3/winbindd/nss_info.c

index 9ef7e20b987a7579aa73c88af089489d9a42533e..473b1a3b66e49deaa20ea5c0c7ee9ee263d8a091 100644 (file)
@@ -20,7 +20,6 @@
 */
 
 #include "includes.h"
-#include "ads.h"
 #include "nss_info.h"
 
 static struct nss_function_entry *backends = NULL;