]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
When compiling nfs-utils-1.1.6, I get this error:
authorRobert Schwebel <r.schwebel@pengutronix.de>
Mon, 18 May 2009 15:36:14 +0000 (11:36 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 18 May 2009 15:36:14 +0000 (11:36 -0400)
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>
tools/rpcgen/rpc_main.c

index 26f202b4f37de63058509a85486611a890fd1a18..e23caff3fb396afc4d3f9dfe44fe003544cd7a45 100644 (file)
@@ -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");