lvm2 kill strings.h include
PATCH 1/1 lvm2 kill strings.h include
klibc has no strings.h and to quote hpa:
"Including <strings.h> is a bug in the upstream source; <strings.h> has been obsolete since at least 1989"
Signed-off-by maximilian attems <[email protected]>
Index: configure
===================================================================
RCS file: /cvs/lvm2/LVM2/configure,v
retrieving revision 1.59
configure +1 -4
@@ -600,9 +600,6 @@ # endif # include <string.h> #endif -#ifdef HAVE_STRINGS_H -# include <strings.h> -#endif #ifdef HAVE_INTTYPES_H # include <inttypes.h> #endif
@@ -4183,7 +4180,7 @@ -for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ +for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h \ inttypes.h stdint.h unistd.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
Signature · 1 line
maks