Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jul 2015 22:40:40 GMT
From:      clord@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r288171 - soc2015/clord/head/sys/contrib/ficl
Message-ID:  <201507092240.t69MeebX023560@socsvn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: clord
Date: Thu Jul  9 22:40:38 2015
New Revision: 288171
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=288171

Log:
  Fix some of the included header files

Modified:
  soc2015/clord/head/sys/contrib/ficl/ficl.h

Modified: soc2015/clord/head/sys/contrib/ficl/ficl.h
==============================================================================
--- soc2015/clord/head/sys/contrib/ficl/ficl.h	Thu Jul  9 21:53:40 2015	(r288170)
+++ soc2015/clord/head/sys/contrib/ficl/ficl.h	Thu Jul  9 22:40:38 2015	(r288171)
@@ -143,11 +143,11 @@
 extern "C" {
 #endif
 
+#include "sysdep.h"
 #include <limits.h>
 #include <setjmp.h>
 #include <stdarg.h>
 #include <stddef.h>
-#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 
@@ -1807,6 +1807,7 @@
 #define FICL_FAM_OPEN_MODE(fam)	((fam) & (FICL_FAM_READ | FICL_FAM_WRITE | FICL_FAM_APPEND))
 
 
+#if (FICL_WANT_FILE)
 typedef struct ficlFile
 {
     FILE *f;
@@ -1820,6 +1821,7 @@
 
 FICL_PLATFORM_EXTERN int ficlFileStatus(char *filename, int *status);
 FICL_PLATFORM_EXTERN long ficlFileSize(ficlFile *ff);
+#endif
 
 
 /*



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