f3331cf9a6
PR: 23947 Submitted by: MAINTAINER
36 lines
768 B
Plaintext
36 lines
768 B
Plaintext
--- 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
|