From 1ed9c427e51a01603bc03fb54761ae6993e55672 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 23 Mar 2016 04:18:57 +0000 Subject: Implement suggestion by jhb@ to have _PATH_FIRMWARE instead of hard coding it to be "/usr/share/firmware". --- include/paths.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/paths.h b/include/paths.h index af18c26e2b2c..3fa54dc10814 100644 --- a/include/paths.h +++ b/include/paths.h @@ -56,6 +56,7 @@ #define _PATH_DRUM "/dev/drum" #define _PATH_ESDB "/usr/share/i18n/esdb" #define _PATH_ETC "/etc" +#define _PATH_FIRMWARE "/usr/share/firmware" #define _PATH_FTPUSERS "/etc/ftpusers" #define _PATH_FWMEM "/dev/fwmem" #define _PATH_GBDE "/sbin/gbde" -- cgit v1.3 From 4ec98362ae5d572c46c2973eec55a9ed942f0ab0 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 23 Mar 2016 19:17:12 +0000 Subject: For C++, expose long long types and functions (lldiv_t, llabs, lldiv, etc) in stdlib.h. These will be needed for newer versions of libc++, which uses them for defining overloaded versions of abs() and div(). MFC after: 1 week --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/stdlib.h b/include/stdlib.h index d5506ff65ea4..8a645c0737c1 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -125,7 +125,7 @@ size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t); * * (The only other extension made by C99 in thie header is _Exit().) */ -#if __ISO_C_VISIBLE >= 1999 +#if __ISO_C_VISIBLE >= 1999 || defined(__cplusplus) #ifdef __LONG_LONG_SUPPORTED /* LONGLONG */ typedef struct { -- cgit v1.3