summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2002-12-11 23:54:40 +0000
committerJeremy Allison <jra@samba.org>2002-12-11 23:54:40 +0000
commit39c78bf516f4db59fd3c218f67d13dd658daf558 (patch)
tree6ae1bf309e022605c3256546c2960f4a10295e4b /source3/include
parentf2def025e277081ac86d68060fed3e10994eaa44 (diff)
downloadsamba-39c78bf516f4db59fd3c218f67d13dd658daf558.tar.gz
samba-39c78bf516f4db59fd3c218f67d13dd658daf558.tar.bz2
samba-39c78bf516f4db59fd3c218f67d13dd658daf558.zip
Fixed auth module code. Added VALGRIND defines to reduce spurious warnings.
Jeremy. (This used to be commit ec4ed45563f9d8e25fcfd88840944a90b3139c3e)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 87b7e02cbf..b7aa700479 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1173,5 +1173,9 @@ int asprintf(char **,const char *, ...) PRINTF_ATTRIBUTE(2,3);
time_t timegm(struct tm *tm);
#endif
+#if defined(VALGRIND)
+#define strlen(x) valgrind_strlen(x)
+#endif
+
#endif /* _INCLUDES_H */