Author: imp Date: Tue Dec 5 21:38:10 2017 New Revision: 326591 URL: https://svnweb.freebsd.org/changeset/base/326591
Log: This isn't NetBSD specific code. Include these for any kernel / standalone use. Tweak for FreeBSD's quirky limits.h stuff. Sponsored by: Netflix Modified: head/contrib/compiler-rt/lib/builtins/int_lib.h Modified: head/contrib/compiler-rt/lib/builtins/int_lib.h ============================================================================== --- head/contrib/compiler-rt/lib/builtins/int_lib.h Tue Dec 5 21:38:04 2017 (r326590) +++ head/contrib/compiler-rt/lib/builtins/int_lib.h Tue Dec 5 21:38:10 2017 (r326591) @@ -55,12 +55,12 @@ #define UNUSED __attribute__((unused)) #endif -#if defined(__NetBSD__) && (defined(_KERNEL) || defined(_STANDALONE)) +#if (defined(_KERNEL) || defined(_STANDALONE)) /* * Kernel and boot environment can't use normal headers, * so use the equivalent system headers. */ -# include <machine/limits.h> +# include <sys/limits.h> # include <sys/stdint.h> # include <sys/types.h> #else _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"