diff options
author | Volker Lendecke <vl@samba.org> | 2019-07-31 12:14:03 +0200 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2019-08-06 21:49:28 +0000 |
commit | d2d4e03b962d22875d6a3b170880c588fdc2688b (patch) | |
tree | f8e4926ee5bb71d6efee7f36fa7e697e9dcf5d59 /source3/wscript | |
parent | 9bae499da78b7978a8145bd6c3499d047b1afe68 (diff) | |
download | samba-d2d4e03b962d22875d6a3b170880c588fdc2688b.tar.gz |
build: Correctly detect rpc/xdr.h on FreeBSD
FreeBSD needs rpc/types.h included before rpc/xdr.h
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/wscript')
-rw-r--r-- | source3/wscript | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/wscript b/source3/wscript index 7a4cd48097d..6a4822dd711 100644 --- a/source3/wscript +++ b/source3/wscript @@ -1433,6 +1433,7 @@ main() { #darwin style quota bytecount conf.CHECK_STRUCTURE_MEMBER('struct dqblk', 'dqb_curbytes', define='HAVE_STRUCT_DQBLK_DQB_CURBYTES', headers='sys/quota.h') + conf.CHECK_HEADERS('rpc/types.h rpc/xdr.h', together=True) if conf.CHECK_HEADERS('rpcsvc/rquota.h', lib='tirpc'): # Optional structure member conf.CHECK_STRUCTURE_MEMBER('struct getquota_rslt', 'getquota_rslt_u', |