Opened 17 years ago

Closed 17 years ago

Last modified 9 years ago

#101 closed defect (fixed)

Compile may fail for sh_unix.c

Reported by: rainer Owned by: rainer
Priority: major Milestone: 2.4.4
Component: main Version: 2.4.3
Keywords: Cc:

Description

Compiling of sh_unix.c may fail. because dependencies cause the preprocessor to pick up linux/wait.h, which contains #define statements for symbols that are typedef'ed in sys/wait.h:

typedef enum
{
P_ALL, /* Wait for any child. */
P_PID, /* Wait for specified process. */
P_PGID /* Wait for members of process group. */
} idtype_t;

will fail if P_ALL etc. are defined as numerical constants already; need to #undef them.

Change History (1)

comment:1 by rainer, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset [169].

Note: See TracTickets for help on using tickets.