diff options
author | Wojciech A. Koszek <wkoszek@freebsd.org> | 2010-01-22 07:32:06 +0100 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2010-10-15 11:02:38 +1000 |
commit | 6e7b3dd60ce7b54e0937fef48b889296fdcfab09 (patch) | |
tree | 52a088f283c068444e9db5672ac0d311162e2157 /jim.c | |
parent | 8f9dcdd4e6e9ca134d67dfce114ebc426556821d (diff) | |
download | jimtcl-6e7b3dd60ce7b54e0937fef48b889296fdcfab09.zip jimtcl-6e7b3dd60ce7b54e0937fef48b889296fdcfab09.tar.gz jimtcl-6e7b3dd60ce7b54e0937fef48b889296fdcfab09.tar.bz2 |
freebsd: make it compile
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 <oyvind.harboe@zylin.com>
Diffstat (limited to 'jim.c')
-rw-r--r-- | jim.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -58,6 +58,19 @@ #include <errno.h> #include <time.h> #endif + +#ifdef __FreeBSD__ +#include <sys/param.h> + +#include <assert.h> +#include <ctype.h> +#include <errno.h> +#include <string.h> +#include <unistd.h> + +#define NEED_ENVIRON_EXTERN (1) +#endif + #ifndef JIM_ANSIC #define JIM_DYNLIB /* Dynamic library support for UNIX and WIN32 */ #endif /* JIM_ANSIC */ |