From e456ee18bfbe422750dfad36f0afe2583f412538 Mon Sep 17 00:00:00 2001 From: Robert Schwebel Date: Mon, 18 May 2009 11:36:14 -0400 Subject: [PATCH] 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 Signed-off-by: Steve Dickson --- tools/rpcgen/rpc_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /* TIOCNOTTY */\n"); #else if( !tirpcflag ) - f_print(fout, "#include /* TIOCNOTTY */\n"); + f_print(fout, "#include /* TIOCNOTTY */\n"); #endif if( Cflag && (inetdflag || pmflag ) ) { f_print(fout, "#ifdef __cplusplus\n"); -- 2.39.2