mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
48ed60d7fd
Compile error: [4530/4693] Compiling source3/utils/regedit_list.c In file included from ../../source3/utils/regedit_list.h:24, from ../../source3/utils/regedit_list.c:20: /usr/include/curses.h:611:28: error: conflicting types for ‘attr_get’ 611 | extern NCURSES_EXPORT(int) attr_get (attr_t *, NCURSES_PAIRS_T *, void *); /* generated */ | ^~~~~~~~ compilation terminated due to -Wfatal-errors. Both ncurses and XFS xattr API provide a get_attr() function. As a workaround avoid including <sys|attr/attributes.h> if <attr|sys/xattr.h> is present. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Dec 12 20:22:51 UTC 2019 on sn-devel-184 |
||
---|---|---|
.. | ||
capability.h | ||
dir.h | ||
filesys.h | ||
glob.h | ||
gssapi.h | ||
iconv.h | ||
kerberos.h | ||
locale.h | ||
network.h | ||
nis.h | ||
passwd.h | ||
readline.h | ||
README | ||
select.h | ||
shmem.h | ||
syslog.h | ||
terminal.h | ||
threads.h | ||
time.h | ||
wait.h | ||
wscript_configure |
This directory contains wrappers around logical groups of system include files. The idea is to avoid #ifdef blocks in the main code, and instead put all the necessary conditional includes in subsystem specific header files in this directory.