[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: libc6-dev and /usr/include/asm



Previously Paul Slootman wrote:
> What I'm wondering is why some program source explicitly needs
> /usr/include/asm/stat.h. I think the official interface is <sys/stat.h>,
> ie. /usr/include/sys/stat.h.  It looks like the program was badly
> written?

Maybe you haven't looked inside headerfiles, but some of the headers
files include asm/* headerfiles themselves:

[random;/usr/include]-147> grep 'asm/' sys/*h
sys/syscall.h:#include <asm/unistd.h>
sys/vm86.h:#include <asm/vm86.h>

Wichert.

-- 
   ________________________________________________________________
 / Generally uninteresting signature - ignore at your convenience  \
| wichert@cistron.nl                  http://www.liacs.nl/~wichert/ |
| 1024D/2FA3BC2D 576E 100B 518D 2F16 36B0  2805 3CB8 9250 2FA3 BC2D |



Reply to: