Proposal to restore traditional BSD behavior in <strings.h>.

David O'Brien obrien at
Sat Oct 16 10:44:21 PDT 2004

I'd like to restore the traditional BSD behavior that <strings.h>
includes the content of <string.h> in addition to the BSD bcmp, et. al.
We changed our <strings.h> between 4.x and 5.x and now that we're at
5-STABLE I'm finding software that built fine on 4.x has an issue on 5.x.

Index: strings.h
RCS file: /home/ncvs/src/include/strings.h,v
retrieving revision 1.6
diff -u -r1.6 strings.h
--- strings.h	23 Jul 2004 07:13:35 -0000	1.6
+++ strings.h	16 Oct 2004 17:09:40 -0000
@@ -31,6 +31,7 @@
 #include <sys/cdefs.h>
 #include <sys/_types.h>
+#include <string.h>
 typedef	__size_t	size_t;

-- David  (obrien at

More information about the freebsd-arch mailing list