diff options
author | David Robillard <d@drobilla.net> | 2021-01-02 17:55:13 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-01-02 17:55:13 +0100 |
commit | 045ba07debf32f643f5af7a3a4ee794f226ed22e (patch) | |
tree | 9ae01ad46c846bdd13a0293a516f37155954b8bc /.includes.imp | |
parent | 2436d942d7271d3cf3a28bc45b18a202be3be77b (diff) | |
download | raul-045ba07debf32f643f5af7a3a4ee794f226ed22e.tar.gz raul-045ba07debf32f643f5af7a3a4ee794f226ed22e.tar.bz2 raul-045ba07debf32f643f5af7a3a4ee794f226ed22e.zip |
Suppress include warning from the use of struct timespec
On 64-bit Linux, this structure uses __syscall_slong_t for tv_nsec, which
confuses include-what-you-use. I can't think of a way to properly address this
generally, so just declare it as coming from ctime, which is what Semaphore
gets it from.
Diffstat (limited to '.includes.imp')
-rw-r--r-- | .includes.imp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/.includes.imp b/.includes.imp index 0edc929..22d8884 100644 --- a/.includes.imp +++ b/.includes.imp @@ -1,9 +1,10 @@ [ - { "symbol": [ "std::exception", "private", "<exception>", "public" ] }, - { "symbol": [ "std::max", "private", "<algorithm>", "public" ] }, - { "symbol": [ "std::min", "private", "<algorithm>", "public" ] }, - { "symbol": [ "uint32_t", "private", "<cstdint>", "public" ] }, - { "symbol": [ "timespec", "private", "<ctime>", "public" ] }, - { "symbol": [ "time_t", "private", "<ctime>", "public" ] }, - { "symbol": [ "CLOCK_REALTIME", "private", "<ctime>", "public" ] } + { "symbol": [ "std::exception", "private", "<exception>", "public" ] }, + { "symbol": [ "std::max", "private", "<algorithm>", "public" ] }, + { "symbol": [ "std::min", "private", "<algorithm>", "public" ] }, + { "symbol": [ "uint32_t", "private", "<cstdint>", "public" ] }, + { "symbol": [ "timespec", "private", "<ctime>", "public" ] }, + { "symbol": [ "time_t", "private", "<ctime>", "public" ] }, + { "symbol": [ "CLOCK_REALTIME", "private", "<ctime>", "public" ] }, + { "symbol": [ "__syscall_slong_t", "private", "<ctime>", "public" ] } ] |