gww@marduk.UUCP (Gary Winiger) (09/05/87)
Subject: ucb/talk won't link +Fix
Index: ucb/talk 4.3BSD +Fix
Description:
get_names.o has unsatisfied externals of hton? because of a
missing include file.
Repeat-By:
Attempt to build talk on a standard distributed system.
Fix:
Add the include file <netinet/in.h> to get_names.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/,RCSt1001929 Mon Dec 29 16:19:43 1986
--- get_names.c Mon Dec 29 16:19:23 1986
***************
*** 1,5 ****
--- 1,8 ----
/*
* $Log: get_names.c,v $
+ * Revision 1.2 86/12/29 16:19:10 gww
+ * Add missing include.
+ *
* Revision 1.1 86/12/29 16:05:12 gww
* Initial revision
*
***************
*** 11,17 ****
*/
#ifndef lint
! static char *ERcsId = "$Header: get_names.c,v 1.1 86/12/29 16:05:12 gww Exp $ ENIX BSD";
static char sccsid[] = "@(#)get_names.c 5.2 (Berkeley) 3/13/86";
#endif not lint
--- 14,20 ----
*/
#ifndef lint
! static char *ERcsId = "$Header: get_names.c,v 1.2 86/12/29 16:19:10 gww Exp $ ENIX BSD";
static char sccsid[] = "@(#)get_names.c 5.2 (Berkeley) 3/13/86";
#endif not lint
***************
*** 18,23 ****
--- 21,27 ----
#include "talk.h"
#include <sys/param.h>
#include <protocols/talkd.h>
+ #include <netinet/in.h>
char *getlogin();
char *ttyname();