From Mark Kettenis, include <signal.h>.
authorAndrew Cagney <cagney@redhat.com>
Thu, 8 Feb 2001 05:06:13 +0000 (05:06 +0000)
committerAndrew Cagney <cagney@redhat.com>
Thu, 8 Feb 2001 05:06:13 +0000 (05:06 +0000)
gdb/ChangeLog
gdb/event-top.h

index 74ba637..a460d56 100644 (file)
@@ -1,5 +1,10 @@
 2001-02-07  Andrew Cagney  <ac131313@redhat.com>
 
+       From Mark Kettenis <kettenis@gnu.org>:
+       * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
+
+2001-02-07  Andrew Cagney  <ac131313@redhat.com>
+
        * remote-sim.c (dump_mem): Cleanup printf format argument.
        * MAINTAINERS: Update, mn10300-elf now builds.
 
index 36b2098..b719549 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions used by GDB event-top.c.
-   Copyright 1999 Free Software Foundation, Inc.
+   Copyright 1999, 2001 Free Software Foundation, Inc.
    Written by Elena Zannoni <ezannoni@cygnus.com> of Cygnus Solutions.
 
    This file is part of GDB.
@@ -78,6 +78,7 @@ extern void set_async_prompt (char *args, int from_tty, struct cmd_list_element
 
 /* Signal to catch ^Z typed while reading a command: SIGTSTP or SIGCONT.  */
 #ifndef STOP_SIGNAL
+#include <signal.h>
 #ifdef SIGTSTP
 #define STOP_SIGNAL SIGTSTP
 extern void handle_stop_sig (int sig);