summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source3/modules/vfs_snapper.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/modules/vfs_snapper.c b/source3/modules/vfs_snapper.c
index 3e6193604d..4ee77dfde3 100644
--- a/source3/modules/vfs_snapper.c
+++ b/source3/modules/vfs_snapper.c
@@ -31,6 +31,7 @@
#include <libgen.h>
#include "includes.h"
#include "include/ntioctl.h"
+#include "include/smb.h"
#include "system/filesys.h"
#include "smbd/smbd.h"
#include "lib/util/tevent_ntstatus.h"
@@ -948,8 +949,6 @@ err_out:
return -1;
}
-#define GMT_FORMAT "@GMT-%Y.%m.%d-%H.%M.%S"
-
static bool snapper_gmt_strip_snapshot(TALLOC_CTX *mem_ctx,
struct vfs_handle_struct *handle,
const char *name,