From: Robert Schwebel Date: Mon, 18 May 2009 15:36:14 +0000 (-0400) Subject: When compiling nfs-utils-1.1.6, I get this error: X-Git-Tag: nfs-utils-1-1-7-rc1~2 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=commitdiff_plain;h=e456ee18bfbe422750dfad36f0afe2583f412538;hp=bfa1df2e24b7f8c7fee299049a6ee36e1262dacd 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 --- 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");