mirror of
https://github.com/containers/fuse-overlayfs.git
synced 2025-09-10 07:44:54 -04:00
Fix build with -fno-common
To avoid that the compiler complains when building with `-fno-common`. Can be reproduced by: ``` > make CFLAGS=-fno-common ... ld: fuse_overlayfs-direct.o:(.data+0x0): multiple definition of \ `direct_access_ds'; fuse_overlayfs-main.o:(.bss+0x0): \ first defined here ld: fuse_overlayfs-utils.o:(.bss+0x0): multiple definition of \ `direct_access_ds'; fuse_overlayfs-main.o:(.bss+0x0): \ first defined here ld: fuse_overlayfs-plugin-manager.o:(.bss+0x0): multiple definition of \ `direct_access_ds'; fuse_overlayfs-main.o:(.bss+0x0): \ first defined here ``` Signed-off-by: Sascha Grunert <sgrunert@suse.com>
This commit is contained in:
parent
53c17dab78
commit
ae73314491
@ -134,7 +134,7 @@ struct data_source
|
|||||||
};
|
};
|
||||||
|
|
||||||
/* passtrough to the file system. */
|
/* passtrough to the file system. */
|
||||||
struct data_source direct_access_ds;
|
extern struct data_source direct_access_ds;
|
||||||
|
|
||||||
# ifndef HAVE_STATX
|
# ifndef HAVE_STATX
|
||||||
# define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
|
# define STATX_TYPE 0x00000001U /* Want/got stx_mode & S_IFMT */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user