Libraries which use gnulib need to be able to rename symbols, for namespace cleanliness. This is commonly done through definitions such as
#define ffs libfoo_ffs in <config.h>. But for this to work, the implementation of the gnulib module must include <config.h>. 2011-10-13 Bruno Haible <br...@clisp.org> ffs, bcopy, memset: Support symbol renaming via config.h. * lib/ffs.c: Include <config.h>. * lib/bcopy.c: Likewise. * lib/memset.c: Likewise. --- lib/ffs.c.orig Thu Oct 13 23:33:22 2011 +++ lib/ffs.c Thu Oct 13 11:33:14 2011 @@ -16,6 +16,9 @@ /* Written by Eric Blake. */ +#include <config.h> + +/* Specification. */ #include <strings.h> #include <limits.h> --- lib/bcopy.c.orig Thu Oct 13 23:33:22 2011 +++ lib/bcopy.c Thu Oct 13 23:32:37 2011 @@ -3,6 +3,8 @@ In the public domain. By David MacKenzie <d...@gnu.ai.mit.edu>. */ +#include <config.h> + #include <stddef.h> void --- lib/memset.c.orig Thu Oct 13 23:33:22 2011 +++ lib/memset.c Thu Oct 13 23:32:35 2011 @@ -15,6 +15,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +#include <config.h> + #include <stddef.h> void * -- In memoriam Bekir Çoban-zade <http://en.wikipedia.org/wiki/Bekir_Çoban-zade>