lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

LYNX-DEV inews compliation: solved


From: Christopher R. Maden
Subject: LYNX-DEV inews compliation: solved
Date: Mon, 28 Oct 1996 21:44:08 GMT

The problem was that sys/socket.h makes use of the u_short type, which
is defined in types.h, but types.h isn't included until after
sys/socket.h.  Here's a trivial patch for the archives:

dot-34> diff -c clientlib.c clientlib.c.orig
*** clientlib.c Mon Oct 28 16:45:47 1996
--- clientlib.c.orig    Mon Oct 28 16:43:15 1996
***************
*** 22,27 ****
--- 22,28 ----
  #ifndef FOR_NN
  #include <sys/types.h>
  #endif
+ #include <sys/socket.h>
  #ifdef FOR_NN
  #if !defined(NETWORK_DATABASE) || defined(NETWORK_BYTE_ORDER)
  #include <netinet/in.h>
***************
*** 29,35 ****
  #else
  #include <netinet/in.h>
  #endif
- #include <sys/socket.h>
  #ifndef EXCELAN
  # include <netdb.h>
  #endif not EXCELAN
--- 30,35 ----
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]