Opened 14 years ago

Closed 14 years ago

Last modified 6 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:


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 Changed 14 years ago by rainer

Resolution: fixed
Status: newclosed

Fixed in changeset [169].

Note: See TracTickets for help on using tickets.