From e76b009f8d9645edc28c8d4a7147c7851b57ae2d Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 18 Jun 2021 08:57:51 +0000 Subject: project: cfgdefs.sh: handle xattrs and linux/limits.h in a patch-free manner. --- project/config/cfgdefs.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/project/config/cfgdefs.sh b/project/config/cfgdefs.sh index 233af67..ce83da4 100644 --- a/project/config/cfgdefs.sh +++ b/project/config/cfgdefs.sh @@ -224,6 +224,14 @@ cfgdefs_perform_common_tests() cfgtest_type_size 'pthread_t' cfgtest_type_size 'pthread_key_t' + # xattrs + cfgtest_newline + cfgtest_comment 'xattrs' + + if cfgtest_header_presence 'linux/limits.h'; then + cfgtest_cflags_append '--include=linux/limits.h' + fi + # toolchain cfgtest_newline cfgtest_comment 'toolchain' -- cgit v1.2.3