gww@marduk.UUCP (Gary Winiger) (09/05/87)
Subject: ucb/ftp won't link. +Fix Index: ucb/ftp/cmds.c 4.3BSD +Fix Description: cmds.o have unsatisfied externals of hton? because of a missing include file. Repeat-By: Attempt to build talkd on a standard distributed system on a BigEndian machine. Fix: Add the include file <netinet/in.h> to cmds.c The attached code corrects this problem at Elxsi. Gary.. {ucbvax!sun,lll-lcc!lll-tis,amdahl!altos86,bridge2}!elxsi!gww --------- cut --------- snip --------- :.,$w diff ------------- *** /tmp/,RCSt1001523 Thu Jun 11 16:30:52 1987 --- cmds.c Thu Jun 11 16:28:57 1987 *************** *** 1,5 **** --- 1,8 ---- /* * $Log: cmds.c,v $ + * Revision 1.2 87/06/11 16:28:46 gww + * Add missing include file. + * * Revision 1.1 86/12/24 13:57:24 gww * Initial revision * *************** *** 11,17 **** */ #ifndef lint ! static char *ERcsId = "$Header: cmds.c,v 1.1 86/12/24 13:57:24 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)cmds.c 5.5 (Berkeley) 3/7/86"; #endif not lint --- 14,20 ---- */ #ifndef lint ! static char *ERcsId = "$Header: cmds.c,v 1.2 87/06/11 16:28:46 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)cmds.c 5.5 (Berkeley) 3/7/86"; #endif not lint *************** *** 29,34 **** --- 32,39 ---- #include <netdb.h> #include <ctype.h> #include <sys/wait.h> + + #include <netinet/in.h> extern char *globerr;