Simon Josefsson wrote: > #if defined(HAVE_STRING_H) > # include <string.h> > #elif defined(HAVE_STRINGS_H) > # include <strings.h> > #endif > #if defined(HAVE_MEMORY_H) > # include <memory.h> > #endif > > Is strings.h needed on any modern platform?
No. 1) <string.h> exists on all platforms, for several years now. The #elif branch in the above code is therefore never executed. 2) There are a few other functions defined in glibc <strings.h>, but they are not useful. See http://lists.gnu.org/archive/html/bug-gnulib/2006-10/msg00113.html Bruno