diff options
author | Justus Winter <justus@gnupg.org> | 2016-02-27 07:52:45 +0100 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2016-02-27 07:52:45 +0100 |
commit | 8feade18c5f5cd2054f84b5b6e76ea9c685148b1 (patch) | |
tree | d159df7c1b30b1358a3a68021440295d0dc3c418 /libddekit | |
parent | aac8ae660aaee19289a50051d84998e4a29e34d0 (diff) |
libddekit: avoid hardcoding stuff, include mach header instead
Diffstat (limited to 'libddekit')
-rw-r--r-- | libddekit/interrupt.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libddekit/interrupt.c b/libddekit/interrupt.c index 940363b1..2618e50b 100644 --- a/libddekit/interrupt.c +++ b/libddekit/interrupt.c @@ -27,14 +27,7 @@ #define BLOCK_IRQ 0 -#define MACH_INTR_NOTIFY 424242 - -typedef struct -{ - mach_msg_header_t intr_header; - mach_msg_type_t intr_type; - int line; -} mach_intr_notification_t; +#include <device/intr.h> /* * Internal type for interrupt loop parameters |