changeset 16007:d057d14ac3bb

ffsl, ffsll: Avoid compilation error due to 'restrict'. * lib/ffsl.h: Include <config.h>. Suggested by Tom G. Christensen <tgc@jupiterrise.com>.
author Bruno Haible <bruno@clisp.org>
date Mon, 31 Oct 2011 02:07:25 +0100
parents 1f375d0c606b
children 8bcf64975256
files ChangeLog lib/ffsl.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-10-30  Bruno Haible  <bruno@clisp.org>
+
+	ffsl, ffsll: Avoid compilation error due to 'restrict'.
+	* lib/ffsl.h: Include <config.h>.
+	Suggested by Tom G. Christensen <tgc@jupiterrise.com>.
+
 2011-10-30  Jim Meyering  <meyering@redhat.com>
 
 	GNUmakefile: reenable "make syntax-check" for most projects
--- a/lib/ffsl.h
+++ b/lib/ffsl.h
@@ -19,6 +19,9 @@
 /* This file is meant to be included by ffsl.c and ffsll.c, after
    they have defined FUNC and TYPE.  */
 
+#include <config.h>
+
+/* Specification.  */
 #include <string.h>
 
 #include <limits.h>