1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Use a long for the load average and include netinet/in.h before

arpa/inet.h to avoid a couple of compiler warnings.

PR:		14443
Submitted by:	Valentin Nechayev <netch@lucky.net>
This commit is contained in:
Steve Price 1999-12-31 22:45:09 +00:00
parent a7f1509769
commit a90be14700
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24325
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 2 15:26:53 1999
+++ configure Thu Oct 21 01:08:47 1999
@@ -2706,7 +2706,7 @@
_CUT_HERE_
-#if ((defined(hp300) && !defined(__hpux)) || defined(sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || defined(SVR4) || defined(sony_news) || !(defined(__osf__) && defined(__alpha)) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k))
+#if ((defined(hp300) && !defined(__hpux)) || defined(sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || defined(SVR4) || defined(sony_news) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k))
loadtype=long
# if defined(apollo) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX)
loadscale=65536

View File

@ -0,0 +1,10 @@
--- teln.c.orig Wed Jul 28 15:50:22 1999
+++ teln.c Thu Oct 21 01:15:50 1999
@@ -28,6 +28,7 @@
#include <sys/socket.h>
#include <fcntl.h>
#include <netdb.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include "config.h"

View File

@ -0,0 +1,11 @@
--- configure.orig Mon Aug 2 15:26:53 1999
+++ configure Thu Oct 21 01:08:47 1999
@@ -2706,7 +2706,7 @@
_CUT_HERE_
-#if ((defined(hp300) && !defined(__hpux)) || defined(sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || defined(SVR4) || defined(sony_news) || !(defined(__osf__) && defined(__alpha)) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k))
+#if ((defined(hp300) && !defined(__hpux)) || defined(sun) || (defined(ultrix) && defined(mips)) || defined(_SEQUENT_) || defined(sgi) || defined(SVR4) || defined(sony_news) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX) || defined(m88k))
loadtype=long
# if defined(apollo) || defined(_IBMR2) || defined(_AUX_SOURCE) || defined(AUX)
loadscale=65536

View File

@ -0,0 +1,10 @@
--- teln.c.orig Wed Jul 28 15:50:22 1999
+++ teln.c Thu Oct 21 01:15:50 1999
@@ -28,6 +28,7 @@
#include <sys/socket.h>
#include <fcntl.h>
#include <netdb.h>
+#include <netinet/in.h>
#include <arpa/inet.h>
#include "config.h"