diff --git a/source4/dsdb/samdb/samdb.c b/source4/dsdb/samdb/samdb.c index ed8f5ab88f7..757ed7be1dd 100644 --- a/source4/dsdb/samdb/samdb.c +++ b/source4/dsdb/samdb/samdb.c @@ -22,6 +22,7 @@ #include "includes.h" #include "librpc/gen_ndr/ndr_netlogon.h" +#include "librpc/gen_ndr/ndr_misc.h" #include "lib/ldb/include/ldb.h" #include "system/time.h" #include "system/filesys.h" diff --git a/source4/lib/ldb/samba/ldif_handlers.c b/source4/lib/ldb/samba/ldif_handlers.c index 6cd4b7e8497..659fbc013dc 100644 --- a/source4/lib/ldb/samba/ldif_handlers.c +++ b/source4/lib/ldb/samba/ldif_handlers.c @@ -26,6 +26,7 @@ #include "ldb/include/ldb.h" #include "ldb/include/ldb_private.h" #include "librpc/gen_ndr/ndr_security.h" +#include "librpc/gen_ndr/ndr_misc.h" /* convert a ldif formatted objectSid to a NDR formatted blob