summaryrefslogtreecommitdiff
path: root/sysutils/scanmem/files/patch-interrupt.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/scanmem/files/patch-interrupt.h')
-rw-r--r--sysutils/scanmem/files/patch-interrupt.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/scanmem/files/patch-interrupt.h b/sysutils/scanmem/files/patch-interrupt.h
new file mode 100644
index 000000000000..0a7228050288
--- /dev/null
+++ b/sysutils/scanmem/files/patch-interrupt.h
@@ -0,0 +1,11 @@
+--- interrupt.h.orig 2009-12-14 15:15:26 UTC
++++ interrupt.h
+@@ -10,7 +10,7 @@
+ /* small header file to manage interrupted commands */
+
+ static sigjmp_buf jmpbuf; /* used when aborting a command due to interrupt */
+-static sighandler_t oldsig; /* reinstalled before longjmp */
++static sig_t oldsig; /* reinstalled before longjmp */
+ static unsigned intused;
+
+ /* signal handler to handle interrupt during a commands */