Path: utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!+ From: Damon.Lipparelli@cs.cmu.edu Newsgroups: comp.windows.x Subject: attn: Paul Gerwitz@hpcore.kodak.com: diffs for hp800 (hpux 3.1) Message-ID: Date: 11 Jan 90 16:17:22 GMT Organization: Carnegie Mellon, Pittsburgh, PA Lines: 43 Paul, My machine can't find hpcore.kodak.com so I'm sending this to the bboard. I hope you get this. Damon Lipparelli (lipp@cs.cmu.edu) --------- Here are the changes I made to ./mit/server/os/4.2bsd/connection.c. Basically I just added a definition of the structure sockaddr_un and moved the declaration of the variable unsock out of the #ifdef UNIXCONN block. -----Clip here---- *** connection.c Thu Jan 11 11:02:56 1990 --- connection.c.old Thu Jan 11 10:59:44 1990 *************** *** 224,240 **** } #endif /* TCPCONN */ ! /* for building on hp800 with hp-ux 3.1 */ ! #ifdef hpux ! struct sockaddr_un { ! short sun_family; ! char sun_path[108]; ! }; ! #endif /* hpux */ static struct sockaddr_un unsock; - - #ifdef UNIXCONN static int open_unix_socket () --- 224,232 ---- } #endif /* TCPCONN */ ! #ifdef UNIXCONN static struct sockaddr_un unsock; static int open_unix_socket ()