samples: Make fs-monitor depend on libc and headers
authorGabriel Krisman Bertazi <krisman@collabora.com>
Thu, 28 Oct 2021 18:56:28 +0000 (15:56 -0300)
committerJan Kara <jack@suse.cz>
Mon, 1 Nov 2021 11:39:53 +0000 (12:39 +0100)
commit8fc70b3a142f97f7859bf052151df896933d2586
tree2d6d69a7a5021a284571927f973cd57f59ad7ed8
parentc0baf9ac0b05d53dfe0436661dbdc5e43c01c5e0
samples: Make fs-monitor depend on libc and headers

Prevent build errors when headers or libc are not available, such as on
kernel build bots, like the below:

samples/fanotify/fs-monitor.c:7:10: fatal error: errno.h: No such file
or directory
  7 | #include <errno.h>
    |          ^~~~~~~~~

Link: https://lore.kernel.org/r/87fsslasgz.fsf@collabora.com
Suggested-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Jan Kara <jack@suse.cz>
samples/Kconfig