about summary refs log tree commit diff
path: root/nscd/nscd.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/nscd.c')
-rw-r--r--nscd/nscd.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/nscd/nscd.c b/nscd/nscd.c
index 5c5c15598b..facea5ecdb 100644
--- a/nscd/nscd.c
+++ b/nscd/nscd.c
@@ -465,3 +465,14 @@ write_pid (const char *file)
 
   return 0;
 }
+
+
+/* This is an ugly hack which prevents getaddrinfo from being dragged
+   into nscd.  There currently is no special getaddrinfo version for
+   use in nscd.  In case it should be necessary such a version must be
+   created and this dummy version should be removed.  */
+void
+getaddrinfo (void)
+{
+  abort ();
+}