From patchwork Mon Feb 22 09:24:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Liebler X-Patchwork-Id: 10980 Received: (qmail 116790 invoked by alias); 22 Feb 2016 09:24:40 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 116773 invoked by uid 89); 22 Feb 2016 09:24:40 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW, RP_MATCHES_RCVD, SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.3.2 spammy=inclusion X-HELO: plane.gmane.org To: libc-alpha@sourceware.org From: Stefan Liebler Subject: [PATCH] Add missing inclusion of libc-internal.h. Date: Mon, 22 Feb 2016 10:24:22 +0100 Lines: 42 Message-ID: Mime-Version: 1.0 X-Mozilla-News-Host: news://news.gmane.org:119 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 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 --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 #include #include - +#include /* We expect four arguments: - source directory name