lsb

stdio.h includes unistd.h

Bug #1327872 reported by Jeff Johnson
6
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/stdio.h 2>&1|grep unistd.h

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.

[*]
http://caml.inria.fr/download.en.html

Tags: errata
Changed in mandriva:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.