diff options
author | Kai Blin <kai@samba.org> | 2010-06-01 10:31:11 +0200 |
---|---|---|
committer | Kai Blin <kai@samba.org> | 2010-06-01 15:11:15 +0200 |
commit | a6c921fef74e368da9a12b8ce82fedbf86c66ed4 (patch) | |
tree | 899f1603af3acf3a0844ff61fc746b2bccd75b17 /source3/wscript | |
parent | 3f14d03adbda03b821210115af4fae044a9b4a3e (diff) | |
download | samba-a6c921fef74e368da9a12b8ce82fedbf86c66ed4.tar.gz samba-a6c921fef74e368da9a12b8ce82fedbf86c66ed4.tar.bz2 samba-a6c921fef74e368da9a12b8ce82fedbf86c66ed4.zip |
s3-waf: Add check for dirent.d_off member
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 4 |
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') |