From patchwork Tue Nov 22 12:55:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andreas Schwab X-Patchwork-Id: 17700 Received: (qmail 64747 invoked by alias); 22 Nov 2016 12:55:18 -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 64728 invoked by uid 89); 22 Nov 2016 12:55:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1569, misc X-HELO: mx2.suse.de From: Andreas Schwab To: libc-alpha@sourceware.org Subject: [PATCH] Fix multiple definitions of mk[o]stemp[s]64 X-Yow: An INK-LING? Sure -- TAKE one!! Did you BUY any COMMUNIST UNIFORMS?? Date: Tue, 22 Nov 2016 13:55:10 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 This fixes commit cd97c96688, without O_DIRECTORY is never defined. Installed as obvious. Andreas. * misc/mkstemp.c: Include . * misc/mkstemps.c: Likewise. * misc/mkostemp.c: Likewise. * misc/mkostemps.c: Likewise. diff --git a/misc/mkostemp.c b/misc/mkostemp.c index c990bbd75b..fee2b66cd1 100644 --- a/misc/mkostemp.c +++ b/misc/mkostemp.c @@ -15,6 +15,7 @@ License along with the GNU C Library; if not, see . */ +#include #include #include diff --git a/misc/mkostemps.c b/misc/mkostemps.c index fcc6053ef3..a7a87bfa2e 100644 --- a/misc/mkostemps.c +++ b/misc/mkostemps.c @@ -16,6 +16,7 @@ . */ #include +#include #include #include diff --git a/misc/mkstemp.c b/misc/mkstemp.c index 69c6c00b79..e125803a6b 100644 --- a/misc/mkstemp.c +++ b/misc/mkstemp.c @@ -15,6 +15,7 @@ License along with the GNU C Library; if not, see . */ +#include #include #include diff --git a/misc/mkstemps.c b/misc/mkstemps.c index 1f46ef57fe..217606db7a 100644 --- a/misc/mkstemps.c +++ b/misc/mkstemps.c @@ -16,6 +16,7 @@ . */ #include +#include #include #include