summaryrefslogtreecommitdiff
path: root/src/s/dgux.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/s/dgux.h')
-rw-r--r--src/s/dgux.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s/dgux.h b/src/s/dgux.h
index 6206908e2e2..633777a0e26 100644
--- a/src/s/dgux.h
+++ b/src/s/dgux.h
@@ -263,9 +263,11 @@ Boston, MA 02111-1307, USA. */
/* can't hurt to define these, even though read/write should auto restart */
#define INTERRUPTIBLE_IO
+#ifndef NO_DGUX_SIGNAL_REDEF
/* Can't use sys_signal because then etc/server.c would need sysdep.o. */
extern struct sigaction act, oact;
#define signal(SIG,FUNC) berk_signal(SIG,FUNC)
+#endif
#endif /* not NOT_C_CODE */