Include elf/ldsodefs.h not link.h.
authordrepper <drepper>
Tue, 24 Mar 1998 00:38:01 +0000 (00:38 +0000)
committerdrepper <drepper>
Tue, 24 Mar 1998 00:38:01 +0000 (00:38 +0000)
nss/nsswitch.c

index 3b48c85..ab0f850 100644 (file)
 #include <errno.h>
 #include <netdb.h>
 #include <bits/libc-lock.h>
-#include <link.h>      /* We need some help from ld.so.  */
 #include <search.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <elf/ldsodefs.h>      /* We need some help from ld.so.  */
 
 #if !defined DO_STATIC_NSS || defined PIC
 # include <gnu/lib-names.h>