summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/replace/timegm.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/replace/timegm.c')
-rw-r--r--source4/lib/ldb/replace/timegm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/replace/timegm.c b/source4/lib/ldb/replace/timegm.c
index 5fb15475f3..10631befd9 100644
--- a/source4/lib/ldb/replace/timegm.c
+++ b/source4/lib/ldb/replace/timegm.c
@@ -38,7 +38,7 @@
#include "includes.h"
#include "ldb/include/includes.h"
-#ifndef HAVE_TIMEGM
+#if !defined(HAVE_TIMEGM) && !defined(_SAMBA_BUILD_)
static int is_leap(unsigned y)
{