]> git.decadent.org.uk Git - nfs-utils.git/commit
rpcgen: include sys/ioctl.h on linux systems
authorMike Frysinger <vapier@gentoo.org>
Wed, 8 Oct 2008 15:08:55 +0000 (11:08 -0400)
committerSteve Dickson <steved@redhat.com>
Wed, 8 Oct 2008 15:08:55 +0000 (11:08 -0400)
commitfd705586d3ec76a5b324db151b87be1e4514f8af
tree7ffe700d25363d2c48a38b7c80b5bb1662e1a676
parent4bd5ab69e5aa8bac905409eff111dbbc24581973
rpcgen: include sys/ioctl.h on linux systems

The rpcgen tool included with nfs-utils will generate calls to ioctl() but not
actually generate the sys/ioctl.h header include.  Attached patch should fix
this.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Steve Dickson <steved@redhat.com>
tools/rpcgen/rpc_main.c