svn commit: r316327 - stable/11/sys/compat/cloudabi

Ed Schouten ed at FreeBSD.org
Fri Mar 31 08:43:08 UTC 2017


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>


More information about the svn-src-stable mailing list