From a6c921fef74e368da9a12b8ce82fedbf86c66ed4 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Tue, 1 Jun 2010 10:31:11 +0200 Subject: s3-waf: Add check for dirent.d_off member --- source3/wscript | 4 ++++ 1 file changed, 4 insertions(+) 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') -- cgit