diff options
Diffstat (limited to 'ld/testplug.c')
-rw-r--r-- | ld/testplug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testplug.c b/ld/testplug.c index f04df10..9e1561c 100644 --- a/ld/testplug.c +++ b/ld/testplug.c @@ -23,6 +23,7 @@ #include "plugin-api.h" /* For ARRAY_SIZE macro only - we don't link the library itself. */ #include "libiberty.h" +#include "filenames.h" extern enum ld_plugin_status onload (struct ld_plugin_tv *tv); static enum ld_plugin_status onclaim_file (const struct ld_plugin_input_file *file, @@ -519,7 +520,7 @@ onclaim_file (const struct ld_plugin_input_file *file, int *claimed) claim_file_t *claimfile = claimfiles_list; while (claimfile) { - if (!strcmp (file->name, claimfile->file.name)) + if (!filename_cmp (file->name, claimfile->file.name)) break; claimfile = claimfile->next; } |