]> mj.ucw.cz Git - pciutils.git/commit
Define SYS_(pread|pwrite) as __NR_\1 on glibc systems unless defined by glibc
authorMartin Mares <mj@ucw.cz>
Tue, 9 Jun 1998 19:22:05 +0000 (19:22 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 5 May 2006 12:09:53 +0000 (14:09 +0200)
commit6ae3650ab159adda12a0a5addc852012b4cb4a9d
treee6cb2358aba6f4236c89988978d280b03b26f384
parentacca5bdbcdd6b062b5008c8f17ca445367547159
Define SYS_(pread|pwrite) as __NR_\1 on glibc systems unless defined by glibc
itself.

This solution is _very_ugly_, but it's the only way I know which doesn't force
people to rebuild the glibc every few kernel releases. Grrr. I don't understand
why glibc uses its own include for syscall numbers and doesn't just include
<asm/unistd.h> instead.
ChangeLog
setpci.c