Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jul 2017 17:39:06 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r321489 - head/sys/arm/include
Message-ID:  <201707251739.v6PHd6Uo003744@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Tue Jul 25 17:39:06 2017
New Revision: 321489
URL: https://svnweb.freebsd.org/changeset/base/321489

Log:
  Use the MD __size_t to avoid a dependency on/include of non-MD header files.
  
  This should fix the compilation of the lua 5.3.4 port, among others.
  
  Reported by:	Russell Haley <russ.haley@gmail.com>

Modified:
  head/sys/arm/include/ucontext.h

Modified: head/sys/arm/include/ucontext.h
==============================================================================
--- head/sys/arm/include/ucontext.h	Tue Jul 25 17:24:50 2017	(r321488)
+++ head/sys/arm/include/ucontext.h	Tue Jul 25 17:39:06 2017	(r321489)
@@ -78,7 +78,7 @@ typedef struct {
 	 * Originally, rest of this structure was named __fpu, 35 * 4 bytes
 	 * long, never accessed from kernel. 
 	 */
-	size_t		mc_vfp_size;
+	__size_t	mc_vfp_size;
 	void 		*mc_vfp_ptr;
 	unsigned int	mc_spare[33];
 } mcontext_t;



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