summaryrefslogtreecommitdiff
path: root/source3/torture/nbench.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/torture/nbench.c')
-rw-r--r--source3/torture/nbench.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/torture/nbench.c b/source3/torture/nbench.c
index 182f6f7cd9..d2fddf0094 100644
--- a/source3/torture/nbench.c
+++ b/source3/torture/nbench.c
@@ -19,7 +19,9 @@
#include "includes.h"
#include "torture/proto.h"
+#include "libsmb/libsmb.h"
#include "libsmb/clirap.h"
+#include "../lib/util/tevent_ntstatus.h"
static long long int ival(const char *str)
{
@@ -94,7 +96,7 @@ static struct nbench_cmd_struct *nbench_parse(TALLOC_CTX *mem_ctx,
char *cmd;
char *status;
- result = TALLOC_P(mem_ctx, struct nbench_cmd_struct);
+ result = talloc(mem_ctx, struct nbench_cmd_struct);
if (result == NULL) {
return NULL;
}