]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix nscd build
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Jan 2018 15:28:48 +0000 (16:28 +0100)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 28 Jan 2018 15:28:48 +0000 (16:28 +0100)
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.

ChangeLog
sysdeps/mach/hurd/check_native.c [new file with mode: 0644]
sysdeps/mach/hurd/check_pf.c [new file with mode: 0644]

index 9a34b84153d4a57282dbbc41e26ef66b51f3f7ca..49bdd47601df0fa67d54839e092fd97f6e9e351e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -49,6 +49,8 @@
        __hurd_directory_name_split): Likewise.
        * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
        * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
+       * sysdeps/mach/hurd/check_native.c: New file.
+       * sysdeps/mach/hurd/check_pf.c: New file.
 
 2018-01-27  James Clarke  <jrtc27@jrtc27.com>
 
diff --git a/sysdeps/mach/hurd/check_native.c b/sysdeps/mach/hurd/check_native.c
new file mode 100644 (file)
index 0000000..d16ff88
--- /dev/null
@@ -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 (file)
index 0000000..32cc283
--- /dev/null
@@ -0,0 +1,3 @@
+#define __getifaddrs getifaddrs
+#define __freeifaddrs freeifaddrs
+#include <inet/check_pf.c>