s3: only use netlogon/nbt header when needed.
[metze/samba/wip.git] / source3 / libsmb / dsgetdcname.c
index 6e322e90c9a3ecf5a52262a285a0c1b013deebc2..6af2eeb6965e65bbe02830eecd9fd094e85c77a1 100644 (file)
@@ -23,6 +23,8 @@
 #include "includes.h"
 #include "libads/sitename_cache.h"
 #include "../librpc/gen_ndr/ndr_netlogon.h"
 #include "includes.h"
 #include "libads/sitename_cache.h"
 #include "../librpc/gen_ndr/ndr_netlogon.h"
+#include "libads/cldap.h"
+#include "libsmb/clidgram.h"
 
 #define DSGETDCNAME_FMT        "DSGETDCNAME/DOMAIN/%s"
 /* 15 minutes */
 
 #define DSGETDCNAME_FMT        "DSGETDCNAME/DOMAIN/%s"
 /* 15 minutes */