Date: Fri, 31 Mar 2017 08:43:07 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r316327 - stable/11/sys/compat/cloudabi Message-ID: <201703310843.v2V8h7Ob052241@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ed Date: Fri Mar 31 08:43:07 2017 New Revision: 316327 URL: https://svnweb.freebsd.org/changeset/base/316327 Log: MFC r315892: Include <sys/systm.h> to obtain the memcpy() prototype. I got a report of this source file not building on Raspberry Pi. It's interesting that this only fails for that target and not for others. Again, that's no reason not to include the right headers. PR: 217969 Reported by: Johannes Jost Meixner Modified: stable/11/sys/compat/cloudabi/cloudabi_clock.c Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/compat/cloudabi/cloudabi_clock.c ============================================================================== --- stable/11/sys/compat/cloudabi/cloudabi_clock.c Fri Mar 31 08:20:59 2017 (r316326) +++ stable/11/sys/compat/cloudabi/cloudabi_clock.c Fri Mar 31 08:43:07 2017 (r316327) @@ -29,6 +29,7 @@ __FBSDID("$FreeBSD$"); #include <sys/param.h> #include <sys/proc.h> #include <sys/stdint.h> +#include <sys/systm.h> #include <sys/syscallsubr.h> #include <contrib/cloudabi/cloudabi_types_common.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703310843.v2V8h7Ob052241>