From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 995 invoked by alias); 6 May 2010 07:53:59 -0000 Received: (qmail 968 invoked by uid 48); 6 May 2010 07:53:48 -0000 Date: Thu, 06 May 2010 07:53:00 -0000 Subject: [Bug c/44002] New: need to #include unistd.h for pid_t X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jay dot krell at cornell dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-05/txt/msg00532.txt.bz2 host=target=alpha-dec-vms build=anything else need to #include unistd.h for pid_t diff -u /src/orig/gcc-4.5.0/libiberty/pex-common.h /src/gcc-4.5.0/libiberty/pex-common.h --- /src/orig/gcc-4.5.0/libiberty/pex-common.h 2009-04-13 03:45:58.000000000 -0700 +++ /src/gcc-4.5.0/libiberty/pex-common.h 2010-05-04 06:43:24.000000000 -0700 @@ -31,6 +31,9 @@ #if !defined(pid_t) && defined(HAVE_SYS_TYPES_H) #include #endif +#ifdef HAVE_UNISTD_H +#include +#endif #define install_error_msg "installation problem, cannot exec `%s'" -- Summary: need to #include unistd.h for pid_t Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jay dot krell at cornell dot edu GCC build triplet: anything else GCC host triplet: alpha-dec-vms GCC target triplet: alpha-dec-vms http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44002