about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 16:28:48 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-01-28 16:28:48 +0100
commit400669754de4c88d9c04c4db8834e33e6ebd6ba6 (patch)
tree5c21c048daca5d2dcd333d8fc123e34adc09aac5 /sysdeps
parentf8bee46cc209ee968c1a34a4b46be91ce691dfc6 (diff)
downloadglibc-400669754de4c88d9c04c4db8834e33e6ebd6ba6.tar.gz
glibc-400669754de4c88d9c04c4db8834e33e6ebd6ba6.tar.xz
glibc-400669754de4c88d9c04c4db8834e33e6ebd6ba6.zip
hurd: Fix nscd build
nscd won't find check_* from inet/, it needs a sysdeps file.

	* sysdeps/mach/hurd/check_native.c: New file.
	* sysdeps/mach/hurd/check_pf.c: New file.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/check_native.c1
-rw-r--r--sysdeps/mach/hurd/check_pf.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/check_native.c b/sysdeps/mach/hurd/check_native.c
new file mode 100644
index 0000000000..d16ff883a9
--- /dev/null
+++ b/sysdeps/mach/hurd/check_native.c
@@ -0,0 +1 @@
+#include <inet/check_native.c>
diff --git a/sysdeps/mach/hurd/check_pf.c b/sysdeps/mach/hurd/check_pf.c
new file mode 100644
index 0000000000..32cc28340b
--- /dev/null
+++ b/sysdeps/mach/hurd/check_pf.c
@@ -0,0 +1,3 @@
+#define __getifaddrs getifaddrs
+#define __freeifaddrs freeifaddrs
+#include <inet/check_pf.c>