diff options
author | Robert Schwebel <r.schwebel@pengutronix.de> | 2009-05-18 11:36:14 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-05-18 11:36:14 -0400 |
commit | e456ee18bfbe422750dfad36f0afe2583f412538 (patch) | |
tree | 2968ac26c86f7204bf4473f5b8acf24755dbd9c4 /tools | |
parent | bfa1df2e24b7f8c7fee299049a6ee36e1262dacd (diff) | |
download | nfs-utils-e456ee18bfbe422750dfad36f0afe2583f412538.tar.gz nfs-utils-e456ee18bfbe422750dfad36f0afe2583f412538.tar.xz nfs-utils-e456ee18bfbe422750dfad36f0afe2583f412538.zip |
When compiling nfs-utils-1.1.6, I get this error:
arm-iwmmx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../support/include
-isystem
/home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/include
-isystem
/home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/usr/include
-D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT sm_inter_svc.o
-MD -MP -MF .deps/sm_inter_svc.Tpo -c -o sm_inter_svc.o sm_inter_svc.c
sm_inter_svc.c:10:39: error: sys/ttycom.h: No such file or directory
Use sys/ioctl.h instead.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/rpcgen/rpc_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/rpcgen/rpc_main.c b/tools/rpcgen/rpc_main.c index 26f202b..e23caff 100644 --- a/tools/rpcgen/rpc_main.c +++ b/tools/rpcgen/rpc_main.c @@ -550,7 +550,7 @@ s_output(int argc, char **argv, char *infile, char *define, int extend, f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n"); #else if( !tirpcflag ) - f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n"); + f_print(fout, "#include <sys/ioctl.h>/* TIOCNOTTY */\n"); #endif if( Cflag && (inetdflag || pmflag ) ) { f_print(fout, "#ifdef __cplusplus\n"); |