From 7972697f22f2aac4d0364261282a5d43c0385dc3 Mon Sep 17 00:00:00 2001 From: venaas Date: Fri, 9 Feb 2007 12:21:44 +0000 Subject: changes to build on NetBSD git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@54 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- Makefile | 7 ++++--- radsecproxy.c | 3 +++ util.c | 2 ++ 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a7982bd..b288dd2 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,10 @@ CFLAGS = -g -Wall -pthread LDFLAGS = -lssl +OBJ = util.o all: radsecproxy -radsecproxy: util.o - +radsecproxy: $(OBJ) + $(CC) $(CFLAGS) $(OBJ) $(LDFLAGS) -o radsecproxy radsecproxy.c clean: - rm -f util.o radsecproxy + rm -f $(OBJ) radsecproxy diff --git a/radsecproxy.c b/radsecproxy.c index 85fb401..e4634bf 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -35,7 +35,10 @@ * 1 + (2 + 2 * 3) + (2 * 30) + (2 * 30) = 129 threads */ +#include +#include #include +#include #include #include #include diff --git a/util.c b/util.c index e4372a3..3c48e71 100644 --- a/util.c +++ b/util.c @@ -6,6 +6,8 @@ * copyright notice and this permission notice appear in all copies. */ +#include +#include #include #include #include -- cgit v1.2.3