diff options
Diffstat (limited to 'gdb/extension-priv.h')
-rw-r--r-- | gdb/extension-priv.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/extension-priv.h b/gdb/extension-priv.h index d0242e2..dd7326e 100644 --- a/gdb/extension-priv.h +++ b/gdb/extension-priv.h @@ -22,6 +22,7 @@ #define EXTENSION_PRIV_H #include "extension.h" +#include <signal.h> /* The return code for some API calls. */ @@ -329,7 +330,7 @@ struct signal_handler int handler_saved; /* The signal handler. */ - RETSIGTYPE (*handler) (); + sighandler_t handler; }; /* State necessary to restore the currently active extension language |