[OpenAFS-devel] syscalls.h under Linux 2.6
Mike Becher
Mike.Becher@lrz-muenchen.de
Thu, 16 Dec 2004 19:06:49 +0100 (CET)
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--8323584-365794294-1103220409=:26077
Content-Type: TEXT/PLAIN; charset=US-ASCII
patch to check for linux/syscalls.h
On Linux 2.6 there isn't a file linux/syscall.h available. Instead its
name is now linux/syscalls.h. So configure (in reality aclocal and
autoconf stuff) should be enhanced to take notice of that fact.
Additionally checks for "sys_ioctl" and "sys_write" are included because
the old functions are not exported on platform ia64_linux26.
best regards
mike
--8323584-365794294-1103220409=:26077
Content-Type: TEXT/PLAIN; charset=US-ASCII; name="configuration-1.3.76.patch"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.58.0412161906490.26077@lxmbe01.lrz.lrz-muenchen.de>
Content-Description: configuration-1.3.76.patch
Content-Disposition: attachment; filename="configuration-1.3.76.patch"
ZGlmZiAtdSAtciAtTiBvcGVuYWZzLTEuMy43Ni5vcmlnL3NyYy9hZnMvc3lz
aW5jbHVkZXMuaCBvcGVuYWZzLTEuMy43Ni9zcmMvYWZzL3N5c2luY2x1ZGVz
LmgNCi0tLSBvcGVuYWZzLTEuMy43Ni5vcmlnL3NyYy9hZnMvc3lzaW5jbHVk
ZXMuaAkyMDA0LTEyLTA4IDExOjM1OjI4LjAwMDAwMDAwMCArMDEwMA0KKysr
IG9wZW5hZnMtMS4zLjc2L3NyYy9hZnMvc3lzaW5jbHVkZXMuaAkyMDA0LTEy
LTE2IDE0OjEwOjQxLjAwMDAwMDAwMCArMDEwMA0KQEAgLTYxLDYgKzYxLDEw
IEBADQogI2luY2x1ZGUgPGxpbnV4L2tkZXZfdC5oPg0KICNpbmNsdWRlIDxs
aW51eC9pb2N0bC5oPg0KICNpZiBkZWZpbmVkKEFGU19MSU5VWDI2X0VOVikN
CisjaW5jbHVkZSA8bGludXgvZnM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