FreeRADIUS on FreeBSD 6.0-RELEASE
Rob Parker
rob.parker at keycom.co.uk
Wed Feb 1 18:19:05 CET 2006
Hi,
I've just come up with a small patch to otp_state.c to allow clean
compilation on FreeBSD 6.0. I notice there is no port maintainer, so I'm not
entirely sure where I should send it! If someone has a cleaner/tidier way of
doing this, let me know...
I've included the patch below for review. I am also considering submitting
it to ports at freebsd.org and possibly taking over maintaing the FreeBSD port
of FreeRADIUS unless anyone knows who currently controls it?
diff -u otp_state.c.backup otp_state.c
--- otp_state.c.backup Wed Feb 1 18:32:52 2006
+++ otp_state.c Wed Feb 1 18:32:45 2006
@@ -35,7 +35,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <sys/socket.h>
-#if defined(__linux__) || defined(__APPLE__)
+#if defined(__linux__) || defined(__APPLE__) || defined(__FreeBSD__)
#include <sys/un.h>
#endif
Regards,
Rob.
More information about the Freeradius-Users
mailing list