Provide sighandler_t fallback for non-GNU-libc platforms

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Alan Coopersmith
2014-12-23 19:07:12 -08:00
committed by Daniel Vetter
parent f04b9dfba0
commit 95ea5d5c0b
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -1206,6 +1206,10 @@ void igt_waitchildren(void)
#define MAX_SIGNALS 32
#define MAX_EXIT_HANDLERS 10
#ifndef HAVE_SIGHANDLER_T
typedef void (*sighandler_t)(int);
#endif
static struct {
sighandler_t handler;
bool installed;