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

index 924d1ea..95e9664 100644 (file)
@@ -25,7 +25,6 @@
 #include <fcntl.h>
 #include <inttypes.h>
 #include <libintl.h>
-#include <link.h>
 #include <locale.h>
 #include <obstack.h>
 #include <search.h>
@@ -33,6 +32,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
+#include <elf/ldsodefs.h>
 #include <sys/gmon.h>
 #include <sys/gmon_out.h>
 #include <sys/mman.h>