From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7036 invoked by alias); 18 Nov 2013 20:37:01 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 7010 invoked by uid 89); 18 Nov 2013 20:37:00 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,RDNS_NONE,SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Nov 2013 20:36:59 +0000 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rAIKPYIa012149 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 18 Nov 2013 15:25:34 -0500 Received: from barimba.redhat.com (ovpn-113-124.phx2.redhat.com [10.3.113.124]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id rAIKPMrK028755; Mon, 18 Nov 2013 15:25:33 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v3 11/13] sys/types.h cleanup Date: Mon, 18 Nov 2013 20:37:00 -0000 Message-Id: <1384806318-12231-12-git-send-email-tromey@redhat.com> In-Reply-To: <1384806318-12231-1-git-send-email-tromey@redhat.com> References: <1384806318-12231-1-git-send-email-tromey@redhat.com> X-SW-Source: 2013-11/txt/msg00496.txt.bz2 configure doesn't check for sys/types.h any more, but it still tries to use the result of the check. This removes that use as well. 2013-11-18 Tom Tromey * configure: Rebuild. * configure.ac: Remove check of HAVE_SYS_TYPES_H. --- gdb/ChangeLog | 5 +++++ gdb/configure | 4 +--- gdb/configure.ac | 4 +--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/gdb/configure b/gdb/configure index 23e533d..5514b2f 100755 --- a/gdb/configure +++ b/gdb/configure @@ -10404,9 +10404,7 @@ _ACEOF # Check the return and argument types of ptrace. No canned test for # this, so roll our own. gdb_ptrace_headers=' -#if HAVE_SYS_TYPES_H -# include -#endif +#include #if HAVE_SYS_PTRACE_H # include #endif diff --git a/gdb/configure.ac b/gdb/configure.ac index d2b5d29..9b73887 100644 --- a/gdb/configure.ac +++ b/gdb/configure.ac @@ -1163,9 +1163,7 @@ GDB_AC_COMMON # Check the return and argument types of ptrace. No canned test for # this, so roll our own. gdb_ptrace_headers=' -#if HAVE_SYS_TYPES_H -# include -#endif +#include #if HAVE_SYS_PTRACE_H # include #endif -- 1.8.1.4