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>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to