svn commit: r315892 - head/sys/compat/cloudabi

Ed Schouten ed at FreeBSD.org
Fri Mar 24 07:09:34 UTC 2017


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>


More information about the svn-src-head mailing list