Include elf/ldsodefs.h not link.h.
authordrepper <drepper>
Tue, 24 Mar 1998 00:29:50 +0000 (00:29 +0000)
committerdrepper <drepper>
Tue, 24 Mar 1998 00:29:50 +0000 (00:29 +0000)
elf/dlerror.c

index 3edafe4..b984b3d 100644 (file)
    write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    Boston, MA 02111-1307, USA.  */
 
-#include <link.h>
 #include <dlfcn.h>
 #include <stdio.h>
-#include <string.h>
 #include <stdlib.h>
+#include <string.h>
 #include <bits/libc-lock.h>
+#include <elf/ldsodefs.h>
 
 
 /* Type for storing results of dynamic loading actions.  */