/* Test-driver for the remote-virtual-component simulator framework
for GDB, the GNU Debugger.
- Copyright 2006-2018 Free Software Foundation, Inc.
+ Copyright 2006-2021 Free Software Foundation, Inc.
This file is part of GDB.
}
#else
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
+/* This must come before any other includes. */
+#include "defs.h"
#include "getopt.h"
#include "libiberty.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
-#ifdef HAVE_STDLIB_H
#include <stdlib.h>
-#endif
-#ifdef HAVE_STRING_H
#include <string.h>
-#endif
-
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
-#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
-#endif
-#ifdef HAVE_SYS_SELECT_H
-#include <sys/select.h>
-#endif
-
-#ifdef HAVE_ERRNO_H
#include <errno.h>
-#endif
/* Not guarded in dv-sockser.c, so why here. */
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
+#include <sys/select.h>
#include <sys/socket.h>
enum rv_command {