Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix tst-dlsym-error build
This patch fixes the new test tst-dlsym-error build on aarch64
(and possible other architectures as well) due missing strchrnul
definition.

	* elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
  • Loading branch information
Adhemerval Zanella committed Mar 31, 2016
1 parent 7d45c16 commit e91bd74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
@@ -1,3 +1,7 @@
2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>

* elf/tst-dlsym-error.c: Include <string.h> for strchrnul.

2016-03-31 Florian Weimer <fweimer@redhat.com> 2016-03-31 Florian Weimer <fweimer@redhat.com>


[BZ #19509] [BZ #19509]
Expand Down
1 change: 1 addition & 0 deletions elf/tst-dlsym-error.c
Expand Up @@ -20,6 +20,7 @@
#include <gnu/lib-names.h> #include <gnu/lib-names.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>


/* Used to disambiguate symbol names. */ /* Used to disambiguate symbol names. */
static int counter; static int counter;
Expand Down

0 comments on commit e91bd74

Please sign in to comment.