sim: options: fix --help output
[deliverable/binutils-gdb.git] / sim / common / hw-events.c
index b051391878f04afd6f6796ba62c40b22e7986fd4..1c749dd8c27c9c014427786f06f861d06ad03be4 100644 (file)
@@ -1,5 +1,5 @@
 /* Hardware event manager.
-   Copyright (C) 1998-2016 Free Software Foundation, Inc.
+   Copyright (C) 1998-2021 Free Software Foundation, Inc.
    Contributed by Cygnus Support.
 
 This file is part of GDB, the GNU debugger.
@@ -23,6 +23,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
 
 #include "sim-events.h"
 
+#include <string.h>
 
 /* The hw-events object is implemented using sim-events */
 
@@ -184,6 +185,7 @@ hw_event_remain_time (struct hw *me, struct hw_event *event)
 #include "sim-main.h"
 #include <string.h>
 #include <stdio.h>
+#include <stdlib.h>
 
 static void
 test_handler (struct hw *me,
This page took 0.023368 seconds and 4 git commands to generate.