aboutsummaryrefslogtreecommitdiffstats
path: root/net/balance/files/patch-aa
blob: bff83c0db9330414ae05309c8227a40069339b87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- Makefile.orig	Fri Dec 29 12:20:10 2000
+++ Makefile	Fri Dec 29 12:20:39 2000
@@ -1,11 +1,11 @@
 # $Id: Makefile,v 1.6 2000/07/23 10:03:11 tommy Exp $
 
-CFLAGS=-g -I.
+# CFLAGS=-g -I.
 
 # uncomment for Solaris:
 # LIBRARIES=-lsocket -lnsl
 
-CC=gcc
+# CC=gcc
 
 balance:	balance.c
 		$(CC) $(CFLAGS) -o balance balance.c $(LIBRARIES)
--- balance.c.orig	Fri Dec 29 12:14:00 2000
+++ balance.c	Fri Dec 29 12:14:21 2000
@@ -19,6 +19,7 @@
 //   'channel 2 overload' problem fixed, thanks to Ed "KuroiNeko"
 //
 
+#include <sys/types.h>
 #include <stdio.h>
 #include <strings.h>
 #include <ctype.h>
@@ -27,7 +28,7 @@
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <signal.h>
-#include <malloc.h>
+#include <stdlib.h>
 
 #ifdef __FreeBSD__
 #define MYBSD 1