Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Aug 2015 02:14:38 GMT
From:      clord@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r289733 - soc2015/clord/head/sys/contrib/ficl
Message-ID:  <201508140214.t7E2EcSc022325@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: clord
Date: Fri Aug 14 02:14:37 2015
New Revision: 289733
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=289733

Log:
  Modify headers to only use standard library for TESTMAIN target, otherwise use
  libstand.
  

Modified:
  soc2015/clord/head/sys/contrib/ficl/float.c

Modified: soc2015/clord/head/sys/contrib/ficl/float.c
==============================================================================
--- soc2015/clord/head/sys/contrib/ficl/float.c	Fri Aug 14 02:07:53 2015	(r289732)
+++ soc2015/clord/head/sys/contrib/ficl/float.c	Fri Aug 14 02:14:37 2015	(r289733)
@@ -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 <math.h>
 #include "ficl.h"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508140214.t7E2EcSc022325>