Commit 7972697f authored by venaas's avatar venaas Committed by venaas
Browse files

changes to build on NetBSD

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@54 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent be427ded
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
......@@ -35,7 +35,10 @@
* 1 + (2 + 2 * 3) + (2 * 30) + (2 * 30) = 129 threads
*/
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <string.h>
#include <unistd.h>
#include <sys/time.h>
#include <libgen.h>
......
......@@ -6,6 +6,8 @@
* copyright notice and this permission notice appear in all copies.
*/
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdio.h>
#include <stdlib.h>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment