aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2024-07-05 09:39:06 +0300
committerthegeorg <thegeorg@yandex-team.com>2024-07-05 09:52:01 +0300
commit5009700545d30746804087e4f9e4df2114a0b79e (patch)
treecab35b8ac8425d29717d1c087ee205b20fd00f7e
parentd833f02db48b160cc93a60c8f134d35d1a566afa (diff)
downloadydb-5009700545d30746804087e4f9e4df2114a0b79e.tar.gz
Cleanup build/sysincl/linux.yml and add a disclaimer
8c051d254142305ea89a0bb6bfc7f1dadd112ff4
-rw-r--r--build/sysincl/linux.yml6
-rw-r--r--contrib/libs/llvm14/lib/Support/Unix/Path.inc2
-rw-r--r--contrib/libs/llvm16/lib/Support/Unix/Path.inc2
3 files changed, 4 insertions, 6 deletions
diff --git a/build/sysincl/linux.yml b/build/sysincl/linux.yml
index a92a09bb9c..b205d25294 100644
--- a/build/sysincl/linux.yml
+++ b/build/sysincl/linux.yml
@@ -1,5 +1,6 @@
+# FIXME: this is actually a glibc (libc6-dev) headers listing.
+# It should be disassembled and libc-to-nothing should be used instead.
- includes:
- - _G_config.h
- a.out.h
- aliases.h
- ansidecl.h
@@ -23,9 +24,6 @@
- gshadow.h
- ieee754.h
- libio.h
- - linux/compiler.h
- - linux/irda.h
- - linux/smb.h
- mcheck.h
- netash/ash.h
- netatalk/at.h
diff --git a/contrib/libs/llvm14/lib/Support/Unix/Path.inc b/contrib/libs/llvm14/lib/Support/Unix/Path.inc
index fed9d0a7ed..3044b98bc3 100644
--- a/contrib/libs/llvm14/lib/Support/Unix/Path.inc
+++ b/contrib/libs/llvm14/lib/Support/Unix/Path.inc
@@ -91,7 +91,7 @@ extern char **environ;
#include <linux/nfs_fs.h>
#endif
#if defined(HAVE_LINUX_SMB_H)
-#include <linux/smb.h>
+#error #include <linux/smb.h>
#endif
#endif
#include <sys/vfs.h>
diff --git a/contrib/libs/llvm16/lib/Support/Unix/Path.inc b/contrib/libs/llvm16/lib/Support/Unix/Path.inc
index 1ff9de4159..2b70af0c18 100644
--- a/contrib/libs/llvm16/lib/Support/Unix/Path.inc
+++ b/contrib/libs/llvm16/lib/Support/Unix/Path.inc
@@ -91,7 +91,7 @@ extern char **environ;
#include <linux/nfs_fs.h>
#endif
#if defined(HAVE_LINUX_SMB_H)
-#include <linux/smb.h>
+#error #include <linux/smb.h>
#endif
#endif
#include <sys/vfs.h>