From patchwork Wed Oct 28 17:44:26 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Evans X-Patchwork-Id: 9426 Received: (qmail 38028 invoked by alias); 28 Oct 2015 17:44:13 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 38013 invoked by uid 89); 28 Oct 2015 17:44:13 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f47.google.com Received: from mail-pa0-f47.google.com (HELO mail-pa0-f47.google.com) (209.85.220.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 28 Oct 2015 17:44:12 +0000 Received: by pasz6 with SMTP id z6so13209719pas.2 for ; Wed, 28 Oct 2015 10:44:09 -0700 (PDT) X-Received: by 10.68.134.167 with SMTP id pl7mr35495606pbb.45.1446054249801; Wed, 28 Oct 2015 10:44:09 -0700 (PDT) Received: from sspiff.org ([104.135.7.182]) by smtp.gmail.com with ESMTPSA id fx3sm34635267pbb.60.2015.10.28.10.44.08 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 28 Oct 2015 10:44:09 -0700 (PDT) Received: by sspiff.org (sSMTP sendmail emulation); Wed, 28 Oct 2015 17:44:26 +0000 From: Doug Evans To: gdb-patches@sourceware.org Subject: [PATCH] building on musl: #include sys/types.h for mode_t Date: Wed, 28 Oct 2015 17:44:26 +0000 Message-ID: <86ziz27urp.fsf@sspiff.org> MIME-Version: 1.0 X-IsSubscribed: yes Hi. Turns out there was a fourth patch. :-) 2015-10-28 Doug Evans * target.h: #include diff --git a/gdb/gdbserver/target.h b/gdb/gdbserver/target.h index a14c6ff..f3fcd6c 100644 --- a/gdb/gdbserver/target.h +++ b/gdb/gdbserver/target.h @@ -21,6 +21,7 @@ #ifndef TARGET_H #define TARGET_H +#include /* for mode_t */ #include "target/target.h" #include "target/resume.h" #include "target/wait.h"