From de6e5df27ead590c7f590a63665cb87764cf6de3 Mon Sep 17 00:00:00 2001 From: Stefan Liebler Date: Mon, 22 Feb 2016 17:44:41 +0100 Subject: [PATCH] Add missing inclusion of libc-internal.h. The build of posix/tst-dir.c fails due to undefined DIAG_* macros. The usage of the macros were introduced in recent commit 7584a3f96de88d5eefe5d6c634515278cbfbf052 "Deprecate readdir_r, readdir64_r [BZ #19056]". This patch adds the missing header libc-internal.h. --- ChangeLog | 4 ++++ posix/tst-dir.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index c1efd1a616..3c30a7298d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-02-22 Stefan Liebler + + * posix/tst-dir.c: Include libc-internal.h. + 2016-02-20 Florian Weimer [BZ #19056] diff --git a/posix/tst-dir.c b/posix/tst-dir.c index d0e487824a..9dbc5566c6 100644 --- a/posix/tst-dir.c +++ b/posix/tst-dir.c @@ -26,7 +26,7 @@ #include #include #include - +#include /* We expect four arguments: - source directory name