Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Oct 2004 10:44:19 -0700
From:      "David O'Brien" <obrien@freebsd.org>
To:        freebsd-arch@freebsd.org
Subject:   Proposal to restore traditional BSD behavior in <strings.h>.
Message-ID:  <20041016174419.GA96297@dragon.nuxi.com>

next in thread | raw e-mail | index | archive | help
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>
 
 #ifndef _SIZE_T_DECLARED
 typedef	__size_t	size_t;

-- 
-- David  (obrien@FreeBSD.org)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041016174419.GA96297>