stdio.h includes unistd.h
Bug #1327872 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lsb |
Fix Committed
|
Medium
|
Unassigned | ||
Mandriva |
Fix Released
|
Medium
|
Bug Description
The stdio.h from the LSB SDK includes unistd.h, but that is not the situation
normally:
$ gcc -dD -E /usr/include/
This causes the OCaml [*] compiler to fail to build in asmrun/roots.c because
unistd.h defines a symbol link (), and roots.c defines a typedef {} link.
My workaround is to simply remove the stdio.h include from asmrun/roots.c as
its not actually needed.
I also tried to edit LSB's stdio.h to remove the unistd.h include, but I can't
because off64_t is defined in unistd.h and stdio.h needs it.
Changed in mandriva: | |
importance: | Unknown → Medium |
status: | Unknown → Fix Released |
To post a comment you must log in.