summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/wscript4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript
index cc3f0d9617..0a4dc37884 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -356,6 +356,10 @@ utimensat vsyslog _write __write __xstat
headers='unistd.h sys/types.h',
msg="Checking for minor macro")
+ conf.CHECK_STRUCTURE_MEMBER('struct dirent', 'd_off',
+ headers='unistd.h sys/types.h dirent.h',
+ define='HAVE_DIRENT_D_OFF')
+
#FIXME: Should just be set when krb5 and ldap requirements are fulfilled
if Options.options.with_ads:
conf.DEFINE('WITH_ADS', '1')