diff options
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -3,8 +3,16 @@ * This code is placed under the GPL. * begun 2004-11-17 rgerhards */ +#ifdef __FreeBSD__ +#define BSD +#endif + #include <stdio.h> +#ifdef BSD +#include <stdlib.h> +#else #include <malloc.h> +#endif #include <string.h> #include <ctype.h> #include <assert.h> |