Skip to contentSkip to conversation

lvm2 kill strings.h include

PATCH New maximilian attems 1 participant 1 message Aug 15, 2007

lore
Share & tools
lore
#0 lore raw

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"

Index: configure
===================================================================
RCS file: /cvs/lvm2/LVM2/configure,v
retrieving revision 1.59

configure +1 -4
diff -u -r1.59 configure
@@ -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