Include elf/ldsodefs.h not link.h.
[kopensolaris-gnu/glibc.git] / 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>