From d2d4e03b962d22875d6a3b170880c588fdc2688b Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 31 Jul 2019 12:14:03 +0200 Subject: [PATCH] build: Correctly detect rpc/xdr.h on FreeBSD FreeBSD needs rpc/types.h included before rpc/xdr.h Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/wscript | 1 + 1 file changed, 1 insertion(+) 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', -- 2.47.3