[comp.windows.x] attn: Paul Gerwitz@hpcore.kodak.com: diffs for hp800

Damon.Lipparelli@cs.cmu.edu (01/12/90)

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 ()