summaryrefslogtreecommitdiff
path: root/tools/gjs-private-iwyu.imp
diff options
context:
space:
mode:
authorPhilip Chimento <philip.chimento@gmail.com>2020-01-07 23:52:00 -0500
committerPhilip Chimento <philip.chimento@gmail.com>2020-01-12 16:21:54 -0800
commit590d09b0ffc3d1f8901ee825c6cab715be2a301b (patch)
treecc31858f8e7c11e995519130f6711fc56e17e4a8 /tools/gjs-private-iwyu.imp
parent777b87a1c2713755b1e71d4853e9ea6e9227fe06 (diff)
downloadgjs-590d09b0ffc3d1f8901ee825c6cab715be2a301b.tar.gz
build: Prefer signal.h to sys/signal.h
It seems that signal.h is the correct header to include. It's not clear whether that's the case on win32, but in that case we do already have a typedef for siginfo_t, so it's OK not to include any header. Closes: #295
Diffstat (limited to 'tools/gjs-private-iwyu.imp')
-rw-r--r--tools/gjs-private-iwyu.imp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/gjs-private-iwyu.imp b/tools/gjs-private-iwyu.imp
index 43fe827c..19ffbcbd 100644
--- a/tools/gjs-private-iwyu.imp
+++ b/tools/gjs-private-iwyu.imp
@@ -3,8 +3,8 @@
{"include": ["<bits/std_abs.h>", "private", "<stdlib.h>", "public"]},
{"include": ["<bits/std_function.h>", "private", "<functional>", "public"]},
{"include": ["@<bits/stdint-.*>", "private", "<stdint.h>", "public"]},
- {"include": ["<bits/types/sigevent_t.h>", "private", "<sys/signal.h>", "public"]},
- {"include": ["<bits/types/siginfo_t.h>", "private", "<sys/signal.h>", "public"]},
+ {"include": ["<bits/types/sigevent_t.h>", "private", "<signal.h>", "public"]},
+ {"include": ["<bits/types/siginfo_t.h>", "private", "<signal.h>", "public"]},
{"include": ["<bits/types/struct_itimerspec.h>", "private", "<time.h>", "public"]},
{"include": ["<bits/types/struct_timespec.h>", "private", "<time.h>", "public"]},
{"include": ["<bits/types/timer_t.h>", "private", "<sys/types.h>", "public"]},