9pfsd: allow building with old glibc

Neither pread() / pwrite() nor O_DIRECTORY are available from glibc
2.11.3 headers without defining (e.g.) _GNU_SOURCE. Supplying the
definition unconditionally shouldn't be a problem, seeing that various
other tools/ components do so, too.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
Jan Beulich authored and Andrew Cooper committed 2024-03-06 12:03:36 +00:00
1 parent e14fece7d4
commit f4900d6d69
1 file changed
+1 -1
+1 -1
View File
@@ -5,7 +5,7 @@
XEN_ROOT = $(CURDIR)/../..
include $(XEN_ROOT)/tools/Rules.mk
CFLAGS += $(PTHREAD_CFLAGS)
CFLAGS += $(PTHREAD_CFLAGS) -D_GNU_SOURCE
LDFLAGS += $(PTHREAD_LDFLAGS)
TARGETS := xen-9pfsd
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.