Re: [PATCH v2 blktests] src/mount_clear_sock.c: fix compiling error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Aug 08, 2022 / 18:36, Yi Zhang wrote:
> <linux/mount.h> and <sys/mount.h> are known pairs of headers that conflict
> See https://sourceware.org/glibc/wiki/Synchronizing_Headers
> $ make
> make -C src all
> make[1]: Entering directory '/root/blktests/src'
> cc  -O2 -Wall -Wshadow  -DHAVE_LINUX_BLKZONED_H -o mount_clear_sock mount_clear_sock.c
> In file included from /usr/include/linux/fs.h:19,
>                  from mount_clear_sock.c:15:
> /usr/include/linux/mount.h:95:6: error: redeclaration of ‘enum fsconfig_command’
>    95 | enum fsconfig_command {
>       |      ^~~~~~~~~~~~~~~~

Thanks, applied!

-- 
Shin'ichiro Kawasaki




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux