* [patch] lvm2 kill strings.h include
@ 2007-08-15 16:33 maximilian attems
0 siblings, 0 replies; only message in thread
From: maximilian attems @ 2007-08-15 16:33 UTC (permalink / raw)
To: lvm-devel
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 <max@stro.at>
Index: configure
===================================================================
RCS file: /cvs/lvm2/LVM2/configure,v
retrieving revision 1.59
diff -u -r1.59 configure
--- configure 14 Aug 2007 18:58:30 -0000 1.59
+++ configure 15 Aug 2007 16:34:49 -0000
@@ -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`
--
maks
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-08-15 16:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 16:33 [patch] lvm2 kill strings.h include maximilian attems
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.