aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-09-04 11:54:48 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-09-04 12:08:34 +0300
commit490a770a69d6b9720979d3ffc84e528cf5b3f590 (patch)
treed6052e69e65eec94745820e12f47c9b7a1b04da4
parent8d7d78d2577a5785d026b0803b698e90fd79dbbe (diff)
downloadydb-490a770a69d6b9720979d3ffc84e528cf5b3f590.tar.gz
Cleanup build/sysincl/linux.yml
9396b0cd7a984fa5c915eed07e29cd357af28a12
-rw-r--r--build/sysincl/libc-to-nothing.yml8
-rw-r--r--build/sysincl/linux.yml10
-rw-r--r--contrib/tools/python3/Modules/posixmodule.c2
3 files changed, 9 insertions, 11 deletions
diff --git a/build/sysincl/libc-to-nothing.yml b/build/sysincl/libc-to-nothing.yml
index a7fdcbd87e..a5222252e1 100644
--- a/build/sysincl/libc-to-nothing.yml
+++ b/build/sysincl/libc-to-nothing.yml
@@ -108,10 +108,12 @@
- sys/mtio.h
- sys/param.h
- sys/personality.h
+ - sys/platform/ppc.h
- sys/poll.h
- sys/prctl.h
- sys/procfs.h
- sys/ptrace.h
+ - sys/queue.h
- sys/quota.h
- sys/reboot.h
- sys/resource.h
@@ -122,12 +124,14 @@
- sys/signalfd.h
- sys/signal.h
- sys/socket.h
+ - sys/socketvar.h
- sys/soundcard.h
- sys/statfs.h
- sys/stat.h
- sys/statvfs.h
- sys/stropts.h
- sys/syscall.h
+ - sys/sysctl.h
- sys/sysinfo.h
- sys/syslog.h
- sys/sysmacros.h
@@ -142,6 +146,7 @@
- sys/ucontext.h
- sys/uio.h
- sys/un.h
+ - sys/unistd.h
- sys/user.h
- sys/utsname.h
- sys/vfs.h
@@ -149,9 +154,11 @@
- sys/wait.h
- sys/xattr.h
- tar.h
+ - termio.h
- termios.h
- threads.h
- time.h
+ - ttyent.h
- uchar.h
- ucontext.h
- ulimit.h
@@ -162,3 +169,4 @@
- values.h
- wait.h
- wordexp.h
+ - xlocale.h
diff --git a/build/sysincl/linux.yml b/build/sysincl/linux.yml
index b205d25294..9ead852d6e 100644
--- a/build/sysincl/linux.yml
+++ b/build/sysincl/linux.yml
@@ -40,13 +40,3 @@
- sgtty.h
- sys/bitypes.h
- sys/cdefs.h
- - sys/memfd.h
- - sys/queue.h
- - sys/platform/ppc.h
- - sys/socketvar.h
- - sys/sysctl.h
- - sys/unistd.h
- - termio.h
- - ttyent.h
- - ustat.h
- - xlocale.h
diff --git a/contrib/tools/python3/Modules/posixmodule.c b/contrib/tools/python3/Modules/posixmodule.c
index f366f1ce5d..e5680a9874 100644
--- a/contrib/tools/python3/Modules/posixmodule.c
+++ b/contrib/tools/python3/Modules/posixmodule.c
@@ -538,7 +538,7 @@ extern char *ctermid_r(char *);
# include <sys/mman.h>
#endif
#ifdef HAVE_SYS_MEMFD_H
-# include <sys/memfd.h>
+# error #include <sys/memfd.h>
#endif
#ifdef HAVE_LINUX_MEMFD_H
# include <linux/memfd.h>