From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25168 invoked by alias); 6 Nov 2013 17:38:59 -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 25130 invoked by uid 89); 6 Nov 2013 17:38:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.5 required=5.0 tests=AWL,BAYES_50,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; Wed, 06 Nov 2013 17:37:22 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id rA6HAJmn017623 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 6 Nov 2013 12:10:19 -0500 Received: from barimba.redhat.com (ovpn-113-94.phx2.redhat.com [10.3.113.94]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id rA6HA202014519; Wed, 6 Nov 2013 12:10:18 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v2 11/16] sys/types.h cleanup Date: Wed, 06 Nov 2013 17:43:00 -0000 Message-Id: <1383757800-6332-12-git-send-email-tromey@redhat.com> In-Reply-To: <1383757800-6332-1-git-send-email-tromey@redhat.com> References: <1383757800-6332-1-git-send-email-tromey@redhat.com> X-SW-Source: 2013-11/txt/msg00134.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-06 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 b296796..e00a06b 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 061b792..abd6f12 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