From owner-svn-src-head@FreeBSD.ORG Thu May 5 02:35:26 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 070FC1065674; Thu, 5 May 2011 02:35:26 +0000 (UTC) (envelope-from obrien@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E86D88FC15; Thu, 5 May 2011 02:35:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p452ZPhr077816; Thu, 5 May 2011 02:35:25 GMT (envelope-from obrien@svn.freebsd.org) Received: (from obrien@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p452ZP4n077814; Thu, 5 May 2011 02:35:25 GMT (envelope-from obrien@svn.freebsd.org) Message-Id: <201105050235.p452ZP4n077814@svn.freebsd.org> From: "David E. O'Brien" Date: Thu, 5 May 2011 02:35:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r221476 - head/sys/sys X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 May 2011 02:35:26 -0000 Author: obrien Date: Thu May 5 02:35:25 2011 New Revision: 221476 URL: http://svn.freebsd.org/changeset/base/221476 Log: Guard ptrdiff_t. Modified: head/sys/sys/stddef.h Modified: head/sys/sys/stddef.h ============================================================================== --- head/sys/sys/stddef.h Thu May 5 02:35:11 2011 (r221475) +++ head/sys/sys/stddef.h Thu May 5 02:35:25 2011 (r221476) @@ -33,7 +33,10 @@ #include #include +#ifndef _PTRDIFF_T_DECLARED typedef __ptrdiff_t ptrdiff_t; +#define _PTRDIFF_T_DECLARED +#endif #define offsetof(type, field) __offsetof(type, field)