pipewire/spa/include/spa/utils
Sam James b943c31fd8
*: don't include standard C headers inside of extern "C"
Including C headers inside of `extern "C"` breaks use from C++. Hoist
the includes of standard C headers above the block so we don't try
to mangle the stdlib.

I initially tried to scope this with a targeted change but it's too
hard to do correctly that way. This way, we avoid whack-a-mole.

Firefox is working around this in their e21461b7b8b39cc31ba53c47d4f6f310c673ff2f
commit.

Bug: https://bugzilla.mozilla.org/1953080
2025-05-30 09:48:28 +01:00
..
ansi.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
atomic.h spa: add atomic.h and port macros to it 2023-07-13 12:25:22 +02:00
cleanup.h spa: utils: explicitly preserve errno in spa_cleanup handlers 2024-07-04 20:57:51 +00:00
defs.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
dict.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
dll.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
endian.h Add spa/utils/endian.h 2024-07-01 15:28:58 +00:00
enum-types.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
hook.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
json-core.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
json-pod.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
json.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
keys.h spa: acp: remove some strictly not necessary SplitPCM properties 2024-12-23 11:46:02 +02:00
list.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
names.h videoconvert: Add dummy plugin 2024-08-29 14:00:51 +00:00
ratelimit.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
result.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
ringbuffer.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
string.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
type-info.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00
type.h *: don't include standard C headers inside of extern "C" 2025-05-30 09:48:28 +01:00