diff mbox

Add missing inclusion of libc-internal.h.

Message ID naek46$q59$1@ger.gmane.org
State New
Headers show

Commit Message

Stefan Liebler Feb. 22, 2016, 9:24 a.m. UTC
Hi,

The build of posix/tst-dir.c fails due to undefined DIAG_* macros.
The usage of these macros were introduced in recent commit
7584a3f96de88d5eefe5d6c634515278cbfbf052
"Deprecate readdir_r, readdir64_r [BZ #19056]".
This patch adds the missing header libc-internal.h.

Bye
Stefan

ChangeLog:

	* posix/tst-dir.c: Include libc-internal.h.

Comments

Stefan Liebler Feb. 22, 2016, 4:50 p.m. UTC | #1
Committed.
See discussion on thread "Deprecate readdir_r, readdir64_r [BZ #19056]":
https://www.sourceware.org/ml/libc-alpha/2016-02/msg00678.html

On 02/22/2016 10:24 AM, Stefan Liebler wrote:
> Hi,
>
> The build of posix/tst-dir.c fails due to undefined DIAG_* macros.
> The usage of these macros were introduced in recent commit
> 7584a3f96de88d5eefe5d6c634515278cbfbf052
> "Deprecate readdir_r, readdir64_r [BZ #19056]".
> This patch adds the missing header libc-internal.h.
>
> Bye
> Stefan
>
> ChangeLog:
>
>      * posix/tst-dir.c: Include libc-internal.h.
diff mbox

Patch

diff --git a/posix/tst-dir.c b/posix/tst-dir.c
index d0e4878..9dbc556 100644
--- a/posix/tst-dir.c
+++ b/posix/tst-dir.c
@@ -26,7 +26,7 @@ 
 #include <string.h>
 #include <unistd.h>
 #include <sys/stat.h>
-
+#include <libc-internal.h>
 
 /* We expect four arguments:
    - source directory name