public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/44002]  New: need to #include unistd.h for pid_t
@ 2010-05-06  7:53 jay dot krell at cornell dot edu
  0 siblings, 0 replies; only message in thread
From: jay dot krell at cornell dot edu @ 2010-05-06  7:53 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-05-06  7:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-06  7:53 [Bug c/44002] New: need to #include unistd.h for pid_t jay dot krell at cornell dot edu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).