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 <sys/types.h>
 #endif
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#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

Reply via email to