Date: Mon, 3 Aug 2015 00:37:43 GMT From: clord@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r289130 - soc2015/clord/head/sys/contrib/ficl Message-ID: <201508030037.t730bhth063241@socsvn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: clord Date: Mon Aug 3 00:37:43 2015 New Revision: 289130 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289130 Log: Fix remaining files to only include standard library headers if target is testmain, otherwise they will rely on libstand. Modified: soc2015/clord/head/sys/contrib/ficl/dictionary.c soc2015/clord/head/sys/contrib/ficl/hash.c soc2015/clord/head/sys/contrib/ficl/primitives.c soc2015/clord/head/sys/contrib/ficl/utility.c Modified: soc2015/clord/head/sys/contrib/ficl/dictionary.c ============================================================================== --- soc2015/clord/head/sys/contrib/ficl/dictionary.c Mon Aug 3 00:35:41 2015 (r289129) +++ soc2015/clord/head/sys/contrib/ficl/dictionary.c Mon Aug 3 00:37:43 2015 (r289130) @@ -53,9 +53,13 @@ /* $FreeBSD$ */ +#ifdef TESTMAIN #include <ctype.h> #include <stdio.h> #include <stdlib.h> +#else +#include <stand.h> +#endif #include <string.h> #include "ficl.h" Modified: soc2015/clord/head/sys/contrib/ficl/hash.c ============================================================================== --- soc2015/clord/head/sys/contrib/ficl/hash.c Mon Aug 3 00:35:41 2015 (r289129) +++ soc2015/clord/head/sys/contrib/ficl/hash.c Mon Aug 3 00:37:43 2015 (r289130) @@ -1,6 +1,10 @@ /* $FreeBSD$ */ +#ifdef TESTMAIN #include <ctype.h> +#else +#include <stand.h> +#endif #include "ficl.h" Modified: soc2015/clord/head/sys/contrib/ficl/primitives.c ============================================================================== --- soc2015/clord/head/sys/contrib/ficl/primitives.c Mon Aug 3 00:35:41 2015 (r289129) +++ soc2015/clord/head/sys/contrib/ficl/primitives.c Mon Aug 3 00:37:43 2015 (r289130) @@ -43,10 +43,14 @@ /* $FreeBSD$ */ +#ifdef TESTMAIN #include <stdlib.h> #include <stdio.h> -#include <string.h> #include <ctype.h> +#else +#include <stand.h> +#endif +#include <string.h> #include "ficl.h" Modified: soc2015/clord/head/sys/contrib/ficl/utility.c ============================================================================== --- soc2015/clord/head/sys/contrib/ficl/utility.c Mon Aug 3 00:35:41 2015 (r289129) +++ soc2015/clord/head/sys/contrib/ficl/utility.c Mon Aug 3 00:37:43 2015 (r289130) @@ -1,6 +1,10 @@ /* $FreeBSD$ */ +#ifdef TESTMAIN #include <ctype.h> +#else +#include <stand.h> +#endif #include "ficl.h"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508030037.t730bhth063241>