Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Mar 2017 07:09:33 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r315892 - head/sys/compat/cloudabi
Message-ID:  <201703240709.v2O79XpE057551@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Fri Mar 24 07:09:33 2017
New Revision: 315892
URL: https://svnweb.freebsd.org/changeset/base/315892

Log:
  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
  MFC after:	1 week

Modified:
  head/sys/compat/cloudabi/cloudabi_clock.c

Modified: head/sys/compat/cloudabi/cloudabi_clock.c
==============================================================================
--- head/sys/compat/cloudabi/cloudabi_clock.c	Fri Mar 24 07:03:26 2017	(r315891)
+++ head/sys/compat/cloudabi/cloudabi_clock.c	Fri Mar 24 07:09:33 2017	(r315892)
@@ -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?201703240709.v2O79XpE057551>