From 6e7b3dd60ce7b54e0937fef48b889296fdcfab09 Mon Sep 17 00:00:00 2001 From: "Wojciech A. Koszek" Date: Fri, 22 Jan 2010 07:32:06 +0100 Subject: freebsd: make it compile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Casts to (void) are in order to silent GCC about unused variables. I didn't want to break ABI for the sake of clean compilation Signed-off-by: Øyvind Harboe --- jim.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'jim.c') diff --git a/jim.c b/jim.c index fa16a82..2bceb5d 100644 --- a/jim.c +++ b/jim.c @@ -58,6 +58,19 @@ #include #include #endif + +#ifdef __FreeBSD__ +#include + +#include +#include +#include +#include +#include + +#define NEED_ENVIRON_EXTERN (1) +#endif + #ifndef JIM_ANSIC #define JIM_DYNLIB /* Dynamic library support for UNIX and WIN32 */ #endif /* JIM_ANSIC */ -- cgit v1.1